From a29620e69c5098462931f748f80d1d9e78fe938e Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sun, 10 Nov 2013 12:17:42 -0800 Subject: [PATCH] more dicking around with mingw flags --- sh/mw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/mw b/sh/mw index 2ca5af0..e35fe6c 100755 --- a/sh/mw +++ b/sh/mw @@ -41,8 +41,8 @@ mingw-enable() { _mw_export PATH "$PATH:$_mw_bin" _mw_export PREFIX "$_mw_prefix" - _mw_export CFLAGS "-O2 -I $_mw_misc/include -I $_mw_prefix/include" - _mw_export LDFLAGS "-s -L $_mw_misc/lib -L $_mw_prefix/lib" + _mw_export CFLAGS "-mwin32 -O2 -I $_mw_misc/include -I $_mw_prefix/include" + _mw_export LDFLAGS "-L $_mw_misc/lib -L $_mw_prefix/lib" _mw_export CPPFLAGS '' _mw_export CXXFLAGS "$CFLAGS"