[llvm-commits] [123794] Fix llvm-gcc builds without --enable-llvm

dpatel at apple.com dpatel at apple.com
Tue Feb 13 10:39:43 PST 2007


Revision: 123794
Author:   dpatel
Date:     2007-02-13 10:39:43 -0800 (Tue, 13 Feb 2007)

Log Message:
-----------
Fix llvm-gcc builds without --enable-llvm

Modified Paths:
--------------
    apple-local/branches/llvm/gcc/Makefile.in

Modified: apple-local/branches/llvm/gcc/Makefile.in
===================================================================
--- apple-local/branches/llvm/gcc/Makefile.in	2007-02-13 18:19:31 UTC (rev 123793)
+++ apple-local/branches/llvm/gcc/Makefile.in	2007-02-13 18:39:43 UTC (rev 123794)
@@ -1030,8 +1030,10 @@
 OBJS-md = $(out_object_file)
 # APPLE LOCAL begin LLVM
 ifneq ($(out_cxx_file),)
+ifneq ($(LLVMOBJDIR),)
 OBJC-md += $(out_cxx_object_file)
 endif
+endif
 # APPLE LOCAL end LLVM
 OBJS-archive = $(EXTRA_OBJS) $(host_hook_obj) tree-inline.o		   \
   cgraph.o cgraphunit.o tree-nomudflap.o
@@ -1125,8 +1127,10 @@
 OBJS = $(OBJS-common) $(out_object_file) $(OBJS-archive)
 # APPLE LOCAL begin LLVM
 ifneq ($(out_cxx_file),)
+ifneq ($(LLVMOBJDIR),)
 OBJS += $(out_cxx_object_file)
 endif
+endif
 # APPLE LOCAL end LLVM
 OBJS-onestep = libbackend.o $(OBJS-archive)
 





More information about the llvm-commits mailing list