build: add libc++ (#50)

This commit is contained in:
Edo 2023-11-12 14:17:01 +02:00 committed by GitHub
parent 60fe685f04
commit ea4055b4ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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