diff options
author | Ron Yorston <rmy@pobox.com> | 2015-07-14 13:47:46 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2015-07-14 13:47:46 +0100 |
commit | 535ec990c50206697852d5c25e94a959f24d86bc (patch) | |
tree | 9354041a7b42782b22f370a6b4ea76477fe46f83 /configs | |
parent | 15d4ff620409a738dc8e9f05fd63fbe7fd421c37 (diff) | |
download | busybox-w32-535ec990c50206697852d5c25e94a959f24d86bc.tar.gz busybox-w32-535ec990c50206697852d5c25e94a959f24d86bc.tar.bz2 busybox-w32-535ec990c50206697852d5c25e94a959f24d86bc.zip |
mingw: include unwind tables in 64-bit build by default
Add "-funwind-tables -fasynchronous-unwind-tables" to CFLAGS for
the 64-bit build, overriding the usual default. Without this
change setjmp/longjmp don't work.
Diffstat (limited to 'configs')
-rw-r--r-- | configs/mingw64_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/mingw64_defconfig b/configs/mingw64_defconfig index 29fa65a49..9bd29fa74 100644 --- a/configs/mingw64_defconfig +++ b/configs/mingw64_defconfig | |||
@@ -70,7 +70,7 @@ CONFIG_LFS=y | |||
70 | CONFIG_SAFE_ENV=y | 70 | CONFIG_SAFE_ENV=y |
71 | CONFIG_CROSS_COMPILER_PREFIX="x86_64-w64-mingw32-" | 71 | CONFIG_CROSS_COMPILER_PREFIX="x86_64-w64-mingw32-" |
72 | CONFIG_SYSROOT="" | 72 | CONFIG_SYSROOT="" |
73 | CONFIG_EXTRA_CFLAGS="" | 73 | CONFIG_EXTRA_CFLAGS="-funwind-tables -fasynchronous-unwind-tables" |
74 | CONFIG_EXTRA_LDFLAGS="" | 74 | CONFIG_EXTRA_LDFLAGS="" |
75 | CONFIG_EXTRA_LDLIBS="" | 75 | CONFIG_EXTRA_LDLIBS="" |
76 | 76 | ||