summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/as.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-11-10 16:13:15 (GMT)
committerSteven Knight <knight@baldmt.com>2003-11-10 16:13:15 (GMT)
commit8de5ae79c1f6096683ee125b38b2e2d7525b7f07 (patch)
tree386f3ae3eac37497adf92f1a1539cd9f7ce13bd3 /src/engine/SCons/Tool/as.py
parent9dd1434a94d2472b6f6d2956eb2b3e422d251a75 (diff)
downloadSCons-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/as.py')
-rw-r--r--src/engine/SCons/Tool/as.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/Tool/as.py b/src/engine/SCons/Tool/as.py
index 0686489..14a2d43 100644
--- a/src/engine/SCons/Tool/as.py
+++ b/src/engine/SCons/Tool/as.py
@@ -43,10 +43,10 @@ assemblers = ['as']
ASSuffixes = ['.s', '.asm', '.ASM']
ASPPSuffixes = ['.spp', '.SPP']
-if os.path.normcase('.s') == os.path.normcase('.S'):
- ASSuffixes.extend(['.S'])
-else:
+if SCons.Util.case_sensitive_suffixes('.s', '.S'):
ASPPSuffixes.extend(['.S'])
+else:
+ ASSuffixes.extend(['.S'])
def generate(env):
"""Add Builders and construction variables for as to an Environment."""