forked from OSchip/llvm-project
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
This commit is contained in:
parent
b566c6c758
commit
df86f29347
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue