diff options
author | Steven Knight <knight@baldmt.com> | 2005-08-12 11:58:49 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-08-12 11:58:49 +0000 |
commit | 62b1b28dd7e952eb3d9910feb39fde8f02dd5dfa (patch) | |
tree | 633bc514ecb582b328f0bb9a9ae0f9a8a0f8f133 /test/gnutools.py | |
parent | 33f2e8d10b3f0334ab37ffb72bc4a282221dade6 (diff) | |
download | scons-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.py | 10 |
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 |