diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-29 13:30:01 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-29 13:30:01 (GMT) |
commit | 08460462006d3d3a050317476fff4c8961da01c5 (patch) | |
tree | f550980fcc025f1206bf834bc6bc375b6a3a575f /Source/cmUnixMakefileGenerator.cxx | |
parent | a7f7366abdff30b8891a2d4c94e33f4e4760c42b (diff) | |
download | CMake-08460462006d3d3a050317476fff4c8961da01c5.zip CMake-08460462006d3d3a050317476fff4c8961da01c5.tar.gz CMake-08460462006d3d3a050317476fff4c8961da01c5.tar.bz2 |
BUG: break up CMAKE_AR into program and ARGS
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r-- | Source/cmUnixMakefileGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index dc7993a..3b39690 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -501,7 +501,7 @@ void cmUnixMakefileGenerator::OutputTargets(std::ostream& fout) fout << "#\n"; fout << m_LibraryOutputPath << "lib" << l->first << ".a: ${" << l->first << "_SRC_OBJS} \n"; - fout << "\t${CMAKE_AR} " + fout << "\t${CMAKE_AR} ${CMAKE_AR_ARGS} " << m_LibraryOutputPath << "lib" << l->first << ".a ${" << l->first << "_SRC_OBJS} \n"; fout << "\t${CMAKE_RANLIB} " @@ -951,6 +951,7 @@ void cmUnixMakefileGenerator::OutputMakeVariables(std::ostream& fout) "CMAKE_LIB_EXT = @CMAKE_LIB_EXT@\n" "CMAKE_RANLIB = @CMAKE_RANLIB@\n" "CMAKE_AR = @CMAKE_AR@\n" + "CMAKE_AR_ARGS = @CMAKE_AR_ARGS@\n" "CMAKE_C_COMPILER = @CMAKE_C_COMPILER@\n" "CMAKE_CFLAGS = @CMAKE_C_FLAGS@ @CMAKE_SHLIB_CFLAGS@ \n" "\n" |