Merge pull request #102 from marcelofg55/master

Fix compile problem on OS X
pull/109/head
Thomas Herzog 2018-03-02 08:17:36 +01:00 committed by GitHub
commit 0d8a605596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ elif target_platform == 'windows':
env.Append(CCFLAGS = [ '-g', '-O3', '-std=c++14', '-Wwrite-strings' ]) env.Append(CCFLAGS = [ '-g', '-O3', '-std=c++14', '-Wwrite-strings' ])
env.Append(LINKFLAGS = [ '--static', '-Wl,--no-undefined', '-static-libgcc', '-static-libstdc++' ]) env.Append(LINKFLAGS = [ '--static', '-Wl,--no-undefined', '-static-libgcc', '-static-libstdc++' ])
elif platform == 'osx': elif target_platform == 'osx':
if ARGUMENTS.get('use_llvm', 'no') == 'yes': if ARGUMENTS.get('use_llvm', 'no') == 'yes':
env['CXX'] = 'clang++' env['CXX'] = 'clang++'