Reimplement r108639 in InstCombine rather than DAGCombine.
[oota-llvm.git] / Makefile.rules
index 44379ed9430d6fb66cb62786d182f4f30e4d7a63..6271bf51f7f4f975d1ae9c282c01ef18595cb263 100644 (file)
@@ -622,7 +622,6 @@ endif
 
 # Adjust linker flags for building an executable
 ifneq ($(HOST_OS),Darwin)
-ifneq ($(DARWIN_MAJVERS),4)
 ifdef TOOLNAME
   LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib'
   ifdef EXAMPLE_TOOL
@@ -631,7 +630,6 @@ ifdef TOOLNAME
     LD.Flags += $(RPATH) -Wl,$(ToolDir) $(RDYNAMIC)
   endif
 endif
-endif
 else
 ifneq ($(DARWIN_MAJVERS),4)
   LD.Flags += $(RPATH) -Wl,@executable_path/../lib