[llvm-commits] [test-suite] r66332 - /test-suite/trunk/Makefile.rules

Duncan Sands baldrick at free.fr
Sat Mar 7 02:23:59 PST 2009


Author: baldrick
Date: Sat Mar  7 04:23:56 2009
New Revision: 66332

URL: http://llvm.org/viewvc/llvm-project?rev=66332&view=rev
Log:
The -mdynamic-no-pic option is darwin specific.

Modified:
    test-suite/trunk/Makefile.rules

Modified: test-suite/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.rules?rev=66332&r1=66331&r2=66332&view=diff

==============================================================================
--- test-suite/trunk/Makefile.rules (original)
+++ test-suite/trunk/Makefile.rules Sat Mar  7 04:23:56 2009
@@ -352,7 +352,10 @@
 TARGET_LLCFLAGS += -relocation-model=pic -disable-fp-elim
 TARGET_LLIFLAGS += -relocation-model=pic -disable-fp-elim
 else
-TARGET_FLAGS += -mdynamic-no-pic -fomit-frame-pointer
+TARGET_FLAGS += -fomit-frame-pointer
+  ifeq ($(OS),Darwin)
+  TARGET_FLAGS += -mdynamic-no-pic
+  endif
 endif
 
 ifdef EXTRA_OPTIONS





More information about the llvm-commits mailing list