diff --git a/premake5.lua b/premake5.lua index fdbd693..8905688 100644 --- a/premake5.lua +++ b/premake5.lua @@ -76,6 +76,9 @@ if os.istarget("linux") then linkoptions "--target=arm64-linux-gnu" filter {} + buildoptions "-stdlib=libc++" + linkoptions "-stdlib=libc++" + -- always try to use lld. LD or Gold will not work linkoptions "-fuse-ld=lld" end