zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit cf4e9a27c5a0f370197837312307f40bb1d6685f (tree)
parent 85575704a4c1939f25414bc585a72bd940e85ceb
Author: emekoi <emekankurumeh@outlook.com>
Date:   Wed, 27 Mar 2019 00:54:46 -0500

removed static build flags on mingw

Diffstat:
MCMakeLists.txt | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -6607,9 +6607,7 @@ endif() set(OPTIMIZED_C_FLAGS "-std=c99 -O3") set(EXE_LDFLAGS " ") -if(MINGW) - set(EXE_LDFLAGS "-static -static-libgcc -static-libstdc++") -elseif(MSVC) +if(MSVC) set(EXE_LDFLAGS "/STACK:16777216") elseif(ZIG_STATIC) if(APPLE)