Do not use -mwindows automatically, tests do not need it

This commit is contained in:
Yevgen Muntyan 2008-08-28 22:51:24 -05:00
parent 924ee284d9
commit d0c2f623da
2 changed files with 5 additions and 1 deletions

View File

@ -29,6 +29,10 @@ medit_SOURCES += main.c
# medit_SOURCES += main.c
# endif
if MOO_OS_MINGW
medit_LDFLAGS += -mwindows
endif
medit_LDFLAGS += -export-dynamic
include ../moo/moo-comps.mk
medit_LDADD = $(moo_app_ldadd)

View File

@ -129,7 +129,7 @@ export AR="${MINGW_TOOL_PREFIX}ar"
export RANLIB="${MINGW_TOOL_PREFIX}ranlib"
export STRIP="${MINGW_TOOL_PREFIX}strip"
export LDFLAGS="-L$GTK_PREFIX/lib -mwindows $LDFLAGS"
export LDFLAGS="-L$GTK_PREFIX/lib $LDFLAGS"
export CPPFLAGS="-I$GTK_PREFIX/include $CPPFLAGS"
export CFLAGS="-I$GTK_PREFIX/include -mms-bitfields -march=i686 ${CFLAGS:-"-O2"}"
export CXXFLAGS="-I$GTK_PREFIX/include -mms-bitfields -march=i686 ${CXXFLAGS:-"-O2"}"