diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-05-19 00:52:28 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-05-19 00:52:28 +0000 |
commit | cc97cfc43eb481ef61763feecb16aa3658016284 (patch) | |
tree | b3a02020992025dba6145192325de7812367d527 /tools/llvmc/Configuration.cpp | |
parent | 8f9e21e3deaf89253458d21fcdca1fc293b3efba (diff) |
For PR514:
* language specification files are no longer configured with "configure"
* add substitutions for %bindir%, %libdir%, and various llvmgcc related
variables needed in the c and cpp spec files.
* Implement the stubstituions in the Compiler Driver.
* Move st.in to projects/Stacker/tools/stkrc where it belongs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22128 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/Configuration.cpp')
-rw-r--r-- | tools/llvmc/Configuration.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/llvmc/Configuration.cpp b/tools/llvmc/Configuration.cpp index 2abf651d70..3b9d221fe3 100644 --- a/tools/llvmc/Configuration.cpp +++ b/tools/llvmc/Configuration.cpp @@ -167,9 +167,11 @@ namespace { bool parseSubstitution(CompilerDriver::StringVector& optList) { switch (token) { case ARGS_SUBST: optList.push_back("%args%"); break; + case BINDIR_SUBST: optList.push_back("%bindir%"); break; case DEFS_SUBST: optList.push_back("%defs%"); break; case IN_SUBST: optList.push_back("%in%"); break; case INCLS_SUBST: optList.push_back("%incls%"); break; + case LIBDIR_SUBST: optList.push_back("%libdir%"); break; case LIBS_SUBST: optList.push_back("%libs%"); break; case OPT_SUBST: optList.push_back("%opt%"); break; case OUT_SUBST: optList.push_back("%out%"); break; |