diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-11-30 01:59:53 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-11-30 01:59:53 (GMT) |
commit | f670003d24c8dacc5f1b6b9ee51ccf0db274a2c0 (patch) | |
tree | cbb55e55aa9f380c5c5dd12b7b780c37982fea32 /Source/cmUnixMakefileGenerator.cxx | |
parent | 521d8d9410c7c7bb5958357933c9759035f51828 (diff) | |
download | CMake-f670003d24c8dacc5f1b6b9ee51ccf0db274a2c0.zip CMake-f670003d24c8dacc5f1b6b9ee51ccf0db274a2c0.tar.gz CMake-f670003d24c8dacc5f1b6b9ee51ccf0db274a2c0.tar.bz2 |
Nmake build: move most of hard-coded values to config parameters
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r-- | Source/cmUnixMakefileGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index 1ddfe0c..e100b7c 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -1187,7 +1187,7 @@ void cmUnixMakefileGenerator::OutputMakeVariables(std::ostream& fout) "CMAKE_AR = @CMAKE_AR@\n" "CMAKE_AR_ARGS = @CMAKE_AR_ARGS@\n" "CMAKE_C_COMPILER = @CMAKE_C_COMPILER@\n" - "CMAKE_CFLAGS = @CMAKE_C_FLAGS@\n" + "CMAKE_C_FLAGS = @CMAKE_C_FLAGS@\n" "CMAKE_SHLIB_CFLAGS = @CMAKE_SHLIB_CFLAGS@\n" "\n" "CMAKE_CXX_COMPILER = @CMAKE_CXX_COMPILER@\n" @@ -1490,7 +1490,7 @@ OutputBuildObjectFromSource(std::ostream& fout, std::string ext = source.GetSourceExtension(); if(ext == "c" ) { - compileCommand = "$(CMAKE_C_COMPILER) $(CMAKE_CFLAGS) "; + compileCommand = "$(CMAKE_C_COMPILER) $(CMAKE_C_FLAGS) "; compileCommand += extraCompileFlags; if(shared) { |