2 #LoadTool('gcc-generic', env, gcc_cross_prefix='pnacl', gcc_strict=False)
3 env['ENV']['PATH'] = os.environ['PATH'] + ':' + env['ENV']['PATH']
5 env['CC'] = 'pnacl-clang'
6 env['CXX'] = 'pnacl-clang++'
7 env['LINK'] = 'pnacl-clang++'
8 env['RANLIB'] = 'pnacl-ranlib'
11 ### Neptune System Files
12 env['NPT_SYSTEM_SOURCES']={'System/StdC':'*.cpp', 'System/Posix':'NptPosixThreads.cpp NptPosixSystem.cpp', 'System/Nacl':'*.cpp', 'System/Null':'NptNullSerialPort.cpp'}
13 env['NPT_EXTRA_LIBS']=['m', 'pthread']