From b6306ba81767226a21ef7b144a840a83f88673d4 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 13 Dec 2016 20:40:53 -0500 Subject: project: clbuild-bat: improved -freestanding support. --- project/clbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/clbuild.sh b/project/clbuild.sh index 8a36685..d11c98a 100755 --- a/project/clbuild.sh +++ b/project/clbuild.sh @@ -91,7 +91,7 @@ make shared-objs static-objs app-objs \ -e 's@'"$mb_cc -c "'@cl /nologo -c @' \ -e 's@ '"$mb_source_dir"'@ %source_dir%@' \ -e 's@-I'"$mb_source_dir"'@-I%source_dir%@g' \ - -e 's@-ffreestanding@/X@g' \ + -e 's@-ffreestanding@/X /GS-@g' \ -e 's@-o @/Fo:@g' \ -e 's@-std=c99 @@g' \ -e 's@-fPIC@@g' \ -- cgit v1.2.3