summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-05-23 02:16:50 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-05-23 17:33:48 +0300
commit62a339916b7f7fc1d979cd7d949801a4b6f3d8e1 (patch)
treedced3852a07693b14b6750440e4a94387788e3fa
parenta6f8b386c2e7e5b4c5bdf06d907eff1d17d2f38f (diff)
Prefix --warn-once with -Wl, as it is a ld flag
-rw-r--r--solenv/inc/wntgcci.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/inc/wntgcci.mk b/solenv/inc/wntgcci.mk
index 45d7346b096c..0fb5695811fa 100644
--- a/solenv/inc/wntgcci.mk
+++ b/solenv/inc/wntgcci.mk
@@ -114,9 +114,9 @@ MINGWLIBDIR=$(COMPATH)$/lib
MINGWSSTDOBJ=
MINGWSSTDENDOBJ=
LINKFLAGSAPPGUI=-mwindows
-LINKFLAGSSHLGUI=--warn-once -mwindows -shared
+LINKFLAGSSHLGUI=-Wl,--warn-once -mwindows -shared
LINKFLAGSAPPCUI=-mconsole
-LINKFLAGSSHLCUI=--warn-once -mconsole -shared
+LINKFLAGSSHLCUI=-Wl,--warn-once -mconsole -shared
LINKFLAGSTACK=
LINKFLAGSPROF=
LINKFLAGSDEBUG=-g