summaryrefslogtreecommitdiffstats
path: root/test/gnutools.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-08-12 11:58:49 (GMT)
committerSteven Knight <knight@baldmt.com>2005-08-12 11:58:49 (GMT)
commit3cd29a71c3bdb7beb08bc69043b837990f648be1 (patch)
tree633bc514ecb582b328f0bb9a9ae0f9a8a0f8f133 /test/gnutools.py
parent4152f9973eac56d5a3c72b168e556e6d6f3a24ea (diff)
downloadSCons-3cd29a71c3bdb7beb08bc69043b837990f648be1.zip
SCons-3cd29a71c3bdb7beb08bc69043b837990f648be1.tar.gz
SCons-3cd29a71c3bdb7beb08bc69043b837990f648be1.tar.bz2
Add Framework support for Mac OS X. (Greg Noel) Document it. (Gary Oberbrunner)
Diffstat (limited to 'test/gnutools.py')
-rw-r--r--test/gnutools.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/gnutools.py b/test/gnutools.py
index d5173ee..82c83ef 100644
--- a/test/gnutools.py
+++ b/test/gnutools.py
@@ -128,16 +128,16 @@ def testObject(test, obj, command, flags):
if sys.platform == 'cygwin':
fpic = ''
else:
- fpic = '-fPIC '
+ fpic = ' -fPIC'
test.fail_test(not testObject(test, 'cfile1.o', 'gcc', '-c') or
not testObject(test, 'cfile2.o', 'gcc', '-c') or
not testObject(test, 'cppfile1.o', 'g++', '-c') or
not testObject(test, 'cppfile2.o', 'g++', '-c') or
- not testObject(test, 'cfile1.os', 'gcc', fpic + '-c') or
- not testObject(test, 'cfile2.os', 'gcc', fpic + '-c') or
- not testObject(test, 'cppfile1.os', 'g++', fpic + '-c') or
- not testObject(test, 'cppfile2.os', 'g++', fpic + '-c') or
+ not testObject(test, 'cfile1.os', 'gcc', '-c' + fpic) or
+ not testObject(test, 'cfile2.os', 'gcc', '-c' + fpic) or
+ not testObject(test, 'cppfile1.os', 'g++', '-c' + fpic) or
+ not testObject(test, 'cppfile2.os', 'g++', '-c' + fpic) or
not testObject(test, 'c-only' + _exe, 'gcc', '') or
not testObject(test, 'cpp-only' + _exe, 'g++', '') or
not testObject(test, 'c-and-cpp' + _exe, 'g++', '') or