| Index: tests/file/nacl.scons
|
| ===================================================================
|
| --- tests/file/nacl.scons (revision 2045)
|
| +++ tests/file/nacl.scons (working copy)
|
| @@ -31,9 +31,14 @@
|
| Import('env')
|
|
|
|
|
| -env.ComponentProgram('file.nexe', 'file.cc',
|
| - EXTRA_LIBS=['pthread', 'nosys'])
|
| +# Don't use -lnosys on ARM - it's automagically included and will spoil
|
| +# things if included before -lc
|
| +if env['TARGET_ARCHITECTURE'] == arm:
|
| + extra_libs = ['pthread']
|
| +else:
|
| + extra_libs = ['pthread', 'nosys']
|
|
|
| +env.ComponentProgram('file.nexe', 'file.c', EXTRA_LIBS=extra_libs)
|
|
|
| # TODO: add tests back in
|
| # NOTE: this smoke tests currently fails in "test17"
|
|
|