attach -pthreads to CXXFLAGS not LIBS
This commit is contained in:
parent
cd8b52a494
commit
c511313c28
1 changed files with 1 additions and 1 deletions
|
@ -898,7 +898,7 @@ if not preconfigured:
|
||||||
# threading support, so we add as a global library instead
|
# threading support, so we add as a global library instead
|
||||||
# of attaching to cxxflags after configure
|
# of attaching to cxxflags after configure
|
||||||
if env['PLATFORM'] == 'SunOS':
|
if env['PLATFORM'] == 'SunOS':
|
||||||
env.Append(LIBS = '-pthreads')
|
env.Append(CXXFLAGS = '-pthreads')
|
||||||
|
|
||||||
|
|
||||||
# if requested, sort LIBPATH and CPPPATH before running CheckLibWithHeader tests
|
# if requested, sort LIBPATH and CPPPATH before running CheckLibWithHeader tests
|
||||||
|
|
Loading…
Add table
Reference in a new issue