diff options
-rw-r--r-- | Makefile.rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 3449d3eadf..933bf0edd9 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -367,6 +367,11 @@ ifdef UNIVERSAL DISABLE_AUTO_DEPENDENCIES=1 endif +# Temporary workaround for a Mac OSX specific issue. +ifdef NO_CXA_ATEXIT + CompileCommonOpts += -fno-use-cxa-atexit +endif + LD.Flags += -L$(LibDir) -L$(LLVMLibDir) CPP.BaseFlags += -D_GNU_SOURCE -D__STDC_LIMIT_MACROS # All -I flags should go here, so that they don't confuse llvm-config. |