[llvm-commits] [llvm] r62987 - in /llvm/trunk/tools: Makefile lto/Makefile
Nick Lewycky
nicholas at mxc.ca
Sun Jan 25 19:04:57 PST 2009
Author: nicholas
Date: Sun Jan 25 21:04:57 2009
New Revision: 62987
URL: http://llvm.org/viewvc/llvm-project?rev=62987&view=rev
Log:
Build libLTO on any platform so long as PIC is enabled.
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=62987&r1=62986&r2=62987&view=diff
==============================================================================
--- llvm/trunk/tools/Makefile (original)
+++ llvm/trunk/tools/Makefile Sun Jan 25 21:04:57 2009
@@ -25,8 +25,7 @@
include $(LEVEL)/Makefile.config
-# only build new lto project on Darwin for now
-ifeq ($(OS),Darwin)
+ifeq ($(ENABLE_PIC),1)
PARALLEL_DIRS += lto
endif
Modified: llvm/trunk/tools/lto/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/Makefile?rev=62987&r1=62986&r2=62987&view=diff
==============================================================================
--- llvm/trunk/tools/lto/Makefile (original)
+++ llvm/trunk/tools/lto/Makefile Sun Jan 25 21:04:57 2009
@@ -16,12 +16,8 @@
include $(LEVEL)/Makefile.config
LINK_LIBS_IN_SHARED = 1
-ifeq ($(OS),Darwin)
- SHARED_LIBRARY = 1
- DONT_BUILD_RELINKED = 1
-else
- BUILD_ARCHIVE = 1
-endif
+SHARED_LIBRARY = 1
+DONT_BUILD_RELINKED = 1
LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
More information about the llvm-commits
mailing list