Skip to content

Commit b37126e

Browse files
committed
Update build script to use libc++ and clang on Linux builds
1 parent 152ada0 commit b37126e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/build_3rdparty.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,9 @@ def Main():
271271
print( "No definition for target architecture " + architecture )
272272
return 1
273273

274+
if architecture == "Linux":
275+
os.environ["CXX"] = "clang++ -stdlib=libc++"
276+
274277
targetPlatformDef = platformBuildTargets[ architecture ]
275278
if not sourcePlatform in targetPlatformDef[ 'buildPlatforms' ]:
276279
print( "Platform " + sourcePlatform + " does not support building for architecture " + architecture )

0 commit comments

Comments
 (0)