[llvm-commits] [llvm] r108367 - in /llvm/trunk/tools: Makefile edis/Makefile
Bob Wilson
bob.wilson at apple.com
Wed Jul 14 15:41:51 PDT 2010
Author: bwilson
Date: Wed Jul 14 17:41:51 2010
New Revision: 108367
URL: http://llvm.org/viewvc/llvm-project?rev=108367&view=rev
Log:
Remove some broken code to check the DISABLE_EDIS flag (edis is now in the
DIRS list, so it does no good to filter it from PARALLEL_DIRS), and replace
it with a check to disable building the shared library version of edis when
the flag is set. Disabling it entirely does not work because MC uses it now.
Modified:
llvm/trunk/tools/Makefile
llvm/trunk/tools/edis/Makefile
Modified: llvm/trunk/tools/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/Makefile?rev=108367&r1=108366&r2=108367&view=diff
==============================================================================
--- llvm/trunk/tools/Makefile (original)
+++ llvm/trunk/tools/Makefile Wed Jul 14 17:41:51 2010
@@ -49,9 +49,4 @@
endif
endif
-# Don't build edis if we explicitly disabled it.
-ifeq ($(DISABLE_EDIS),1)
- PARALLEL_DIRS := $(filter-out edis, $(PARALLEL_DIRS))
-endif
-
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/tools/edis/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/edis/Makefile?rev=108367&r1=108366&r2=108367&view=diff
==============================================================================
--- llvm/trunk/tools/edis/Makefile (original)
+++ llvm/trunk/tools/edis/Makefile Wed Jul 14 17:41:51 2010
@@ -20,10 +20,12 @@
include $(LEVEL)/Makefile.config
ifeq ($(ENABLE_PIC),1)
+ ifneq ($(DISABLE_EDIS),1)
ifneq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW))
LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1
endif
+ endif
endif
LINK_COMPONENTS := $(TARGETS_TO_BUILD) x86asmprinter x86disassembler
More information about the llvm-commits
mailing list