mirror of
https://github.com/boostorg/boost.git
synced 2025-04-14 09:00:36 +00:00
avoid linking by adding "-c" to Linux compiler invocations
[SVN r7941]
This commit is contained in:
parent
716de3d1d7
commit
4adf834460
1 changed files with 3 additions and 3 deletions
|
@ -68,13 +68,13 @@ def compile( program ):
|
|||
|
||||
if sys.platform == "linux2":
|
||||
if compiler_arg == "*" or compiler_arg == "gcc":
|
||||
invoke( "GCC 2.95.2", 'g++ -ftemplate-depth-30 -I' + path + ' ' + fullpath )
|
||||
invoke( "GCC 2.95.2", 'g++ -ftemplate-depth-30 -c -I' + path + ' ' + fullpath )
|
||||
if compiler_arg == "*" or compiler_arg == "gcc-stlport":
|
||||
invoke( "GCC 2.95.2 STLport 4.0", 'g++ -V 2.95.2-stlport -ftemplate-depth-30 -I' + path + ' ' + fullpath )
|
||||
invoke( "GCC 2.95.2 STLport 4.0", 'g++ -V 2.95.2-stlport -c -ftemplate-depth-30 -I' + path + ' ' + fullpath )
|
||||
# if compiler_arg == "*" or compiler_arg == "gcc-exp":
|
||||
# invoke( "GCC pre-2.96 experimental", '/opt/exp/gcc/bin/g++ -ftemplate-depth-30 -I' + path + ' ' + fullpath )
|
||||
if compiler_arg == "*" or compiler_arg == "como":
|
||||
invoke( "Comeau C++ 4.2.44 beta3", 'como -I' + path + ' ' + fullpath)
|
||||
invoke( "Comeau C++ 4.2.44 beta3", 'como -c -I' + path + ' ' + fullpath)
|
||||
|
||||
# ---------- Windows ---------- #
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue