summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-26 19:19:26 +0000
committerChris Lattner <sabre@nondot.org>2009-02-26 19:19:26 +0000
commitdf86f29347c01f95a9f27ff3cbd7e00264e11630 (patch)
tree4e8ed8815e19e2755e7a98a002377b516e15763e
parentb566c6c75875a426382a2c19d8dca694c5753551 (diff)
downloadbcm5719-llvm-df86f29347c01f95a9f27ff3cbd7e00264e11630.tar.gz
bcm5719-llvm-df86f29347c01f95a9f27ff3cbd7e00264e11630.zip
make sure that make fully evaluates variables when determining how compile_c and
friends should work. This fixes 2006-11-30-Pubnames.cpp and friends on darwin with the new -mmacosx-version-min change. llvm-svn: 65564
-rw-r--r--llvm/test/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Makefile b/llvm/test/Makefile
index 7ce4086f1af..af426cb2672 100644
--- a/llvm/test/Makefile
+++ b/llvm/test/Makefile
@@ -108,9 +108,9 @@ site.exp: FORCE
@echo 'set objdir "$(LLVM_OBJ_ROOT)/test"' >>site.tmp
@echo 'set gccpath "$(CC)"' >>site.tmp
@echo 'set gxxpath "$(CXX)"' >>site.tmp
- @echo 'set compile_c "$(CC) $(CPP.Flags) $(CompileCommonOpts) -c "' >>site.tmp
- @echo 'set compile_cxx "$(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) -c"' >> site.tmp
- @echo 'set link "$(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) $(LD.Flags)"' >>site.tmp
+ @echo 'set compile_c "' $(CC) $(CPP.Flags) $(CompileCommonOpts) -c '"' >>site.tmp
+ @echo 'set compile_cxx "' $(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) -c '"' >> site.tmp
+ @echo 'set link "' $(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) $(LD.Flags) '"' >>site.tmp
@echo 'set llvmgcc "$(LLVMGCC) $(EXTRA_OPTIONS)"' >> site.tmp
@echo 'set llvmgxx "$(LLVMGCC) $(EXTRA_OPTIONS)"' >> site.tmp
@echo 'set llvmgccmajvers "$(LLVMGCC_MAJVERS)"' >> site.tmp
OpenPOWER on IntegriCloud