Created
February 17, 2014 13:19
-
-
Save dbuenzli/9050340 to your computer and use it in GitHub Desktop.
Disable -no_compact_unwind and the warnings that results from doing so
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- configure.old 2013-08-23 08:22:36.000000000 +0200 | |
+++ configure 2014-02-05 15:08:27.000000000 +0100 | |
@@ -280,7 +280,7 @@ | |
*,*-*-darwin*) | |
bytecccompopts="-fno-defer-pop $gcc_warnings" | |
mathlib="" | |
- mkexe="$mkexe -Wl,-no_compact_unwind" | |
+ mkexe="$mkexe -Wl,-w" | |
# Tell gcc that we can use 32-bit code addresses for threaded code | |
# unless we are compiled for a shared library (-fPIC option) | |
echo "#ifndef __PIC__" >> m.h | |
@@ -606,7 +606,7 @@ | |
dl_needs_underscore=false | |
shared_libraries_supported=true;; | |
*-apple-darwin*) | |
- mksharedlib="$bytecc -bundle -flat_namespace -undefined suppress -Wl,-no_compact_unwind" | |
+ mksharedlib="$bytecc -bundle -flat_namespace -undefined suppress -Wl,-w" | |
bytecccompopts="$dl_defs $bytecccompopts" | |
dl_needs_underscore=false | |
shared_libraries_supported=true;; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment