diff options
author | Michel Zou <xantares09@hotmail.com> | 2019-05-24 12:32:01 +0200 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2019-05-24 12:18:40 +0100 |
commit | 88eb2a1f7e6277c7f10adfc95ebeaf3d2f73e862 (patch) | |
tree | 48b409301ad6659dcc02813ab00bf02a57f1d23d /scons | |
parent | 78fb5594bee51402f279e54e52f79341b05f5a68 (diff) | |
download | mesa-88eb2a1f7e6277c7f10adfc95ebeaf3d2f73e862.tar.gz mesa-88eb2a1f7e6277c7f10adfc95ebeaf3d2f73e862.tar.bz2 mesa-88eb2a1f7e6277c7f10adfc95ebeaf3d2f73e862.zip |
scons: For MinGW use -posix flag.
Signed-off-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'scons')
-rw-r--r-- | scons/llvm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/llvm.py b/scons/llvm.py index a84ad51d97a..7ebcaf1c58c 100644 --- a/scons/llvm.py +++ b/scons/llvm.py @@ -123,7 +123,7 @@ def generate(env): if env['platform'] == 'windows' and env['crosscompile']: # LLVM 5.0 requires MinGW w/ pthreads due to use of std::thread and friends. assert env['gcc'] - env['CXX'] = env['CXX'] + '-posix' + env.AppendUnique(CXXFLAGS = ['-posix']) elif llvm_version >= distutils.version.LooseVersion('4.0'): env.Prepend(LIBS = [ 'LLVMX86Disassembler', 'LLVMX86AsmParser', |