diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-03-21 12:26:15 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-03-21 12:26:15 +0100 |
commit | 27388c9483b5e00b593ac126092c5bbb131492b0 (patch) | |
tree | 816265d041e6ed8611ecdbd2e1e4d1db625683c4 /solenv/gbuild/WinResTarget.mk | |
parent | avoid Wundef / fix endian detection (diff) | |
download | core-27388c9483b5e00b593ac126092c5bbb131492b0.tar.gz core-27388c9483b5e00b593ac126092c5bbb131492b0.zip |
do not pass -isystem to winres
In mingw build, the compiler is gcc, so -isystem is supported, but winres
is passed some include flags too and there -isystem should be turned back to -I.
Diffstat (limited to 'solenv/gbuild/WinResTarget.mk')
-rw-r--r-- | solenv/gbuild/WinResTarget.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/WinResTarget.mk b/solenv/gbuild/WinResTarget.mk index 268a9e7f3e66..48d5b72f41f1 100644 --- a/solenv/gbuild/WinResTarget.mk +++ b/solenv/gbuild/WinResTarget.mk @@ -13,7 +13,7 @@ endef define gb_WinResTarget_WinResTarget_init $(call gb_WinResTarget_get_target,$(1)) : DEFS := $(gb_WinResTarget_DEFAULTDEFS) -$(call gb_WinResTarget_get_target,$(1)) : INCLUDE := $(SOLARINC) -I$(SRCDIR)/config_$(gb_Side) +$(call gb_WinResTarget_get_target,$(1)) : INCLUDE := $(subst -isystem,-I,$(SOLARINC)) -I$(SRCDIR)/config_$(gb_Side) $(call gb_WinResTarget_get_clean_target,$(1)) : RCFILE := $(call gb_WinResTarget_get_target,$(1)) : RCFILE := |