Skip to content

Instantly share code, notes, and snippets.

@dbuenzli
Created February 17, 2014 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbuenzli/9050340 to your computer and use it in GitHub Desktop.
Save dbuenzli/9050340 to your computer and use it in GitHub Desktop.
Disable -no_compact_unwind and the warnings that results from doing so
--- 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