1. SCons
  2. Core
  3. SCons

Source

SCons / test / gnutools.py

Diff from to

File test/gnutools.py

  • Ignore whitespace
 testObject(test, 'cppfile2.o',          'g++ -c')
 testObject(test, 'cfile1.os',           'gcc -c' + c_fpic)
 testObject(test, 'cfile2.os',           'gcc -c' + c_fpic)
-testObject(test, 'cppfile1.os',         'g++ -c -fPIC')
-testObject(test, 'cppfile2.os',         'g++ -c -fPIC')
+testObject(test, 'cppfile1.os',         'g++ -c' + c_fpic)
+testObject(test, 'cppfile2.os',         'g++ -c' + c_fpic)
 testObject(test, 'c-only' + _exe,       'gcc')
 testObject(test, 'cpp-only' + _exe,     'g++')
 testObject(test, 'c-and-cpp' + _exe,    'g++')