[llvm-commits] [llvm] r64285 - in /llvm/trunk/tools: Makefile lto/Makefile
Devang Patel
dpatel at apple.com
Tue Feb 10 18:34:33 PST 2009
Author: dpatel
Date: Tue Feb 10 20:34:33 2009
New Revision: 64285
URL: http://llvm.org/viewvc/llvm-project?rev=64285&view=rev
Log:
62987 disables LTO build on darwin.
Revert 62987 for now. Nicolas please investigate.
Modified:
llvm/trunk/tools/Makefile
llvm/trunk/tools/lto/Makefile
Modified: llvm/trunk/tools/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/Makefile?rev=64285&r1=64284&r2=64285&view=diff
==============================================================================
--- llvm/trunk/tools/Makefile (original)
+++ llvm/trunk/tools/Makefile Tue Feb 10 20:34:33 2009
@@ -25,7 +25,8 @@
include $(LEVEL)/Makefile.config
-ifeq ($(ENABLE_PIC),1)
+# only build new lto project on Darwin for now
+ifeq ($(OS),Darwin)
PARALLEL_DIRS += lto
ifdef BINUTILS_INCDIR
Modified: llvm/trunk/tools/lto/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/Makefile?rev=64285&r1=64284&r2=64285&view=diff
==============================================================================
--- llvm/trunk/tools/lto/Makefile (original)
+++ llvm/trunk/tools/lto/Makefile Tue Feb 10 20:34:33 2009
@@ -16,8 +16,12 @@
include $(LEVEL)/Makefile.config
LINK_LIBS_IN_SHARED = 1
-SHARED_LIBRARY = 1
-DONT_BUILD_RELINKED = 1
+ifeq ($(OS),Darwin)
+ SHARED_LIBRARY = 1
+ DONT_BUILD_RELINKED = 1
+else
+ BUILD_ARCHIVE = 1
+endif
LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
More information about the llvm-commits
mailing list