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

Reid Spencer reid at x10sys.com
Fri Aug 25 11:18:52 PDT 2006



Changes in directory llvm-test:

Makefile.rules updated: 1.15 -> 1.16
---
Log message:

For PR879: http://llvm.org/PR879 :
Temporarily work around this problem by using -D__NO_MATH_INLINES on the
command line for X86/Linux targets. The inline math uses an fp stack that
LLVM doesn't currently support. Undo this patch when 879 is fixed.


---
Diffs of the changes:  (+6 -0)

 Makefile.rules |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm-test/Makefile.rules
diff -u llvm-test/Makefile.rules:1.15 llvm-test/Makefile.rules:1.16
--- llvm-test/Makefile.rules:1.15	Fri Jul 21 18:06:51 2006
+++ llvm-test/Makefile.rules	Fri Aug 25 13:18:38 2006
@@ -321,6 +321,12 @@
 TARGET_FLAGS := -mdynamic-no-pic -fomit-frame-pointer
 endif
 
+ifeq ($(OS),Linux)
+ifeq ($(ARCH),x86)
+CPPFLAGS += -D__NO_MATH_INLINES
+endif
+endif
+
 ifdef EXTRA_OPTIONS
 TARGET_FLAGS += $(EXTRA_OPTIONS)
 endif






More information about the llvm-commits mailing list