summaryrefslogtreecommitdiffstats
path: root/test/Makefile
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
commitcd45eaa80a44ebc4d3ba6621dc6c2c6c054d4879 (patch)
tree6b17cc3f818f7e4618940125b18ae09ca9a1a256 /test/Makefile
parentae72ca9cb69c0941f44164447c545667adaa9bcb (diff)
downloadexternal_llvm-cd45eaa80a44ebc4d3ba6621dc6c2c6c054d4879.zip
external_llvm-cd45eaa80a44ebc4d3ba6621dc6c2c6c054d4879.tar.gz
external_llvm-cd45eaa80a44ebc4d3ba6621dc6c2c6c054d4879.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile
index 7ce4086..af426cb 100644
--- a/test/Makefile
+++ b/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