summaryrefslogtreecommitdiff
path: root/lib/wx/configure.in
diff options
context:
space:
mode:
authorDan Gudmundsson <dgud@erlang.org>2014-01-15 12:32:31 +0100
committerDan Gudmundsson <dgud@erlang.org>2014-01-15 12:32:31 +0100
commitadf86abf64e25085785a65ed85a917251a301d94 (patch)
tree40a5880a0c1cfc5693961e0656b8668e28c5aa53 /lib/wx/configure.in
parent74f6d6d74f7a3be5aece37a0b419e40d96e036d4 (diff)
downloaderlang-adf86abf64e25085785a65ed85a917251a301d94.tar.gz
wx: Remove compiler option -fomit-frame-pointer on Darwin
Causes a segfault when building on 10.9 with -mmacosx-version-min=10.9
Diffstat (limited to 'lib/wx/configure.in')
-rwxr-xr-xlib/wx/configure.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/wx/configure.in b/lib/wx/configure.in
index 2842db07c0..3756786831 100755
--- a/lib/wx/configure.in
+++ b/lib/wx/configure.in
@@ -211,20 +211,20 @@ dnl ----------------------------------------------------------------------
case $host_os in
mingw32)
DEBUG_CFLAGS="-g -Wall -DDEBUG $CFLAGS"
- CFLAGS="-g -Wall -O2 -fomit-frame-pointer -fno-strict-aliasing $CFLAGS"
+ CFLAGS="-g -Wall -O2 $CFLAGS -fomit-frame-pointer -fno-strict-aliasing"
;;
win32)
- DEBUG_CFLAGS="-g -Wall -DDEBUG $CFLAGS"
+ DEBUG_CFLAGS="-g -Wall $CFLAGS -DDEBUG"
CFLAGS="-g -Wall -O2 $CFLAGS"
;;
darwin*)
- DEBUG_CFLAGS="-g -Wall -fPIC -DDEBUG $CFLAGS"
- # Disable -02 crashes with xcode 5.0.2 (clang-500.2.79)
- CFLAGS="-g -Wall -fPIC -fomit-frame-pointer -fno-strict-aliasing $CFLAGS"
+ DEBUG_CFLAGS="-g -Wall -fPIC $CFLAGS -DDEBUG"
+ # omit-frame-pointer causes seg faults with 10.9 and clang
+ CFLAGS="-g -Wall -fPIC $CFLAGS -fno-strict-aliasing"
;;
*)
- DEBUG_CFLAGS="-g -Wall -fPIC -DDEBUG $CFLAGS"
- CFLAGS="-g -Wall -O2 -fPIC -fomit-frame-pointer -fno-strict-aliasing $CFLAGS"
+ DEBUG_CFLAGS="-g -Wall -fPIC $CFLAGS -DDEBUG"
+ CFLAGS="-g -Wall -O2 -fPIC $CFLAGS -fomit-frame-pointer -fno-strict-aliasing"
;;
esac