From ea4055b4ba264cc8bd50df477fdbf48b84330eb0 Mon Sep 17 00:00:00 2001 From: Edo Date: Sun, 12 Nov 2023 14:17:01 +0200 Subject: [PATCH] build: add libc++ (#50) --- premake5.lua | 3 +++ 1 file changed, 3 insertions(+) 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