summaryrefslogtreecommitdiff
path: root/test/gnutools.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-08-12 11:58:49 +0000
committerSteven Knight <knight@baldmt.com>2005-08-12 11:58:49 +0000
commit62b1b28dd7e952eb3d9910feb39fde8f02dd5dfa (patch)
tree633bc514ecb582b328f0bb9a9ae0f9a8a0f8f133 /test/gnutools.py
parent33f2e8d10b3f0334ab37ffb72bc4a282221dade6 (diff)
downloadscons-62b1b28dd7e952eb3d9910feb39fde8f02dd5dfa.tar.gz
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 d5173ee2..82c83ef6 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