commit f4a0658585574d904190732fbacedccb1e8b6f46 (tree)
parent fe524a1fa565004c3c0c3faecbe14f2331feefab
Author: Andrew Kelley <superjoe30@gmail.com>
Date: Thu, 27 Sep 2018 22:27:52 -0400
rely on gcc for static builds on macos
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -824,7 +824,7 @@ elseif(MSVC)
set(EXE_LDFLAGS "/STACK:16777216")
elseif(ZIG_STATIC)
if(APPLE)
- set(EXE_LDFLAGS " ")
+ set(EXE_LDFLAGS "-static-libgcc -static-libstdc++")
else()
set(EXE_LDFLAGS "-static")
endif()