Do not use -mwindows automatically, tests do not need it
This commit is contained in:
parent
924ee284d9
commit
d0c2f623da
@ -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)
|
||||
|
@ -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"}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user