[llvm-commits] CVS: llvm-test/Makefile.rules

Evan Cheng evan.cheng at apple.com
Tue Jul 18 23:03:17 PDT 2006



Changes in directory llvm-test:

Makefile.rules updated: 1.13 -> 1.14
---
Log message:

Workaround to make JIT work with C++ programs on Mac OS X. __cxa_atexit is resolved by linker.

---
Diffs of the changes:  (+1 -1)

 Makefile.rules |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-test/Makefile.rules
diff -u llvm-test/Makefile.rules:1.13 llvm-test/Makefile.rules:1.14
--- llvm-test/Makefile.rules:1.13	Tue Jun 20 13:47:47 2006
+++ llvm-test/Makefile.rules	Wed Jul 19 01:03:03 2006
@@ -318,7 +318,7 @@
 CompileOptimizeOpts := -O3 -DNDEBUG -finline-functions
 
 ifeq ($(OS),Darwin)
-TARGET_FLAGS := -mdynamic-no-pic -fomit-frame-pointer
+TARGET_FLAGS := -mdynamic-no-pic -fomit-frame-pointer -fno-use-cxa-atexit
 endif
 
 ifdef EXTRA_OPTIONS






More information about the llvm-commits mailing list