build: add libc++ (#50)
This commit is contained in:
parent
60fe685f04
commit
ea4055b4ba
@ -76,6 +76,9 @@ if os.istarget("linux") then
|
|||||||
linkoptions "--target=arm64-linux-gnu"
|
linkoptions "--target=arm64-linux-gnu"
|
||||||
filter {}
|
filter {}
|
||||||
|
|
||||||
|
buildoptions "-stdlib=libc++"
|
||||||
|
linkoptions "-stdlib=libc++"
|
||||||
|
|
||||||
-- always try to use lld. LD or Gold will not work
|
-- always try to use lld. LD or Gold will not work
|
||||||
linkoptions "-fuse-ld=lld"
|
linkoptions "-fuse-ld=lld"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user