mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 03:20:40 +02:00
scons: For MinGW use -posix flag.
Signed-off-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
78fb5594be
commit
88eb2a1f7e
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ def generate(env):
|
||||||
if env['platform'] == 'windows' and env['crosscompile']:
|
if env['platform'] == 'windows' and env['crosscompile']:
|
||||||
# LLVM 5.0 requires MinGW w/ pthreads due to use of std::thread and friends.
|
# LLVM 5.0 requires MinGW w/ pthreads due to use of std::thread and friends.
|
||||||
assert env['gcc']
|
assert env['gcc']
|
||||||
env['CXX'] = env['CXX'] + '-posix'
|
env.AppendUnique(CXXFLAGS = ['-posix'])
|
||||||
elif llvm_version >= distutils.version.LooseVersion('4.0'):
|
elif llvm_version >= distutils.version.LooseVersion('4.0'):
|
||||||
env.Prepend(LIBS = [
|
env.Prepend(LIBS = [
|
||||||
'LLVMX86Disassembler', 'LLVMX86AsmParser',
|
'LLVMX86Disassembler', 'LLVMX86AsmParser',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue