From 4b47d8fad2e48cb1d18e77479146d6c9ee130d41 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Fri, 18 Jun 2021 14:49:54 +0100 Subject: mingw: don't include unwind tables in 64-bit build It seems that mingw-w64 no longer requires unwind tables in the 64-bit build, resulting in a significant reduction in the size of the binary. The flags for unwind tables were added in commit 535ec990c (mingw: include unwind tables in 64-bit build by default). Removing them means that the only difference between the 32- and 64-bit config files is the compiler prefix. --- configs/mingw64_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/mingw64_defconfig') diff --git a/configs/mingw64_defconfig b/configs/mingw64_defconfig index e85fbf71f..7d45c02ab 100644 --- a/configs/mingw64_defconfig +++ b/configs/mingw64_defconfig @@ -68,7 +68,7 @@ CONFIG_FEATURE_EXTRA_FILE_DATA=y # CONFIG_FEATURE_SHARED_BUSYBOX is not set CONFIG_CROSS_COMPILER_PREFIX="x86_64-w64-mingw32-" CONFIG_SYSROOT="" -CONFIG_EXTRA_CFLAGS="-funwind-tables -fasynchronous-unwind-tables" +CONFIG_EXTRA_CFLAGS="" CONFIG_EXTRA_LDFLAGS="" CONFIG_EXTRA_LDLIBS="" CONFIG_USE_PORTABLE_CODE=y -- cgit v1.2.3-55-g6feb