diff options
author | Steven Knight <knight@baldmt.com> | 2003-11-10 16:13:15 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-11-10 16:13:15 (GMT) |
commit | 8de5ae79c1f6096683ee125b38b2e2d7525b7f07 (patch) | |
tree | 386f3ae3eac37497adf92f1a1539cd9f7ce13bd3 /src/engine/SCons/Tool/gcc.py | |
parent | 9dd1434a94d2472b6f6d2956eb2b3e422d251a75 (diff) | |
download | SCons-8de5ae79c1f6096683ee125b38b2e2d7525b7f07.zip SCons-8de5ae79c1f6096683ee125b38b2e2d7525b7f07.tar.gz SCons-8de5ae79c1f6096683ee125b38b2e2d7525b7f07.tar.bz2 |
Use sys.stdout.write() instead of print so line feeds in -j output will stay (more) consistent. Fix suffix-handling on case-insensitive Cygwin systems. Test fixes for Cygwin portability. (Chad Austin)
Diffstat (limited to 'src/engine/SCons/Tool/gcc.py')
-rw-r--r-- | src/engine/SCons/Tool/gcc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/gcc.py b/src/engine/SCons/Tool/gcc.py index a9f8ee1..acbe440 100644 --- a/src/engine/SCons/Tool/gcc.py +++ b/src/engine/SCons/Tool/gcc.py @@ -45,7 +45,7 @@ def generate(env): if env['PLATFORM'] == 'cygwin': env['SHCCFLAGS'] = '$CCFLAGS' else: - env['SHCCFLAGS'] = '$CCFLAGS -fPIC' + env['SHCCFLAGS'] = ['$CCFLAGS', '-fPIC'] def exists(env): return env.Detect(compilers) |