summaryrefslogtreecommitdiff
path: root/src/engine/SCons/Tool/gcc.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-01-18 14:32:51 +0000
committerSteven Knight <knight@baldmt.com>2003-01-18 14:32:51 +0000
commite7311129d841fe777bfe2d83c46033f34dac4709 (patch)
treea24fdcf4d185371398684f758fc74a3a856181fc /src/engine/SCons/Tool/gcc.py
parent9174c12d92d6a32c087bd5b891022ef5dc6f426f (diff)
downloadscons-e7311129d841fe777bfe2d83c46033f34dac4709.tar.gz
Make shared/static objects less irritating. (Anthony Roach)
Diffstat (limited to 'src/engine/SCons/Tool/gcc.py')
-rw-r--r--src/engine/SCons/Tool/gcc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/gcc.py b/src/engine/SCons/Tool/gcc.py
index 86497075..677c3223 100644
--- a/src/engine/SCons/Tool/gcc.py
+++ b/src/engine/SCons/Tool/gcc.py
@@ -59,9 +59,10 @@ def generate(env, platform):
env['SHCC'] = '$CC'
env['SHCCFLAGS'] = '$CCFLAGS -fPIC'
env['SHCCCOM'] = '$SHCC $SHCCFLAGS $CPPFLAGS $_CPPINCFLAGS -c -o $TARGET $SOURCES'
-
+ env['SHOBJSUFFIX'] = '.os'
env['INCPREFIX'] = '-I'
env['INCSUFFIX'] = ''
+ env['STATIC_AND_SHARED_OBJECTS_ARE_THE_SAME'] = 0
env['CFILESUFFIX'] = '.c'