diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-19 16:22:47 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-19 16:22:47 +0000 |
commit | de6305a0e4144e607fff5d7ce0dab1391052726f (patch) | |
tree | 8d7b374bdac64c169fc39d052685b4cfe8b2926d /winsup/utils/Makefile.in | |
parent | 09376842d4d7240c8cd7a63fa7858b620469cd22 (diff) | |
download | newlib-de6305a0e4144e607fff5d7ce0dab1391052726f.zip newlib-de6305a0e4144e607fff5d7ce0dab1391052726f.tar.gz newlib-de6305a0e4144e607fff5d7ce0dab1391052726f.tar.bz2 |
* Makefile.in: Filter newlib includes from mingw compilation.
Diffstat (limited to 'winsup/utils/Makefile.in')
-rw-r--r-- | winsup/utils/Makefile.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in index 12e1cbd..979c7d7 100644 --- a/winsup/utils/Makefile.in +++ b/winsup/utils/Makefile.in @@ -35,7 +35,7 @@ CXXFLAGS:=@CXXFLAGS@ -fno-exceptions -fno-rtti include $(srcdir)/../Makefile.common -MINGW_INCLUDES:=-I$(mingw_source)/include -I$(cygwin_source)/include -I$(w32api_include) +MINGW_INCLUDES:=-I$(mingw_source)/include -I$(w32api_include) libbfd:=${shell $(CC) -L$(bupdir2)/bfd --print-file-name=libbfd.a} libintl:=${shell $(CC) -L$(bupdir2)/intl --print-file-name=libintl.a} @@ -43,7 +43,7 @@ build_dumper:=${shell test -r $(libbfd) && test -r ${libintl} && echo 1} DUMPER_INCLUDES:=-I$(bupdir2)/bfd -I$(updir1)/include -MINGW_CXXFLAGS:=$(CXXFLAGS) -mno-cygwin $(MINGW_INCLUDES) +MINGW_CXXFLAGS:=${filter-out $(newlib_source)/%,$(CXXFLAGS)} -mno-cygwin $(MINGW_INCLUDES) MINGW_CFLAGS:=-mno-cygwin $(MINGW_INCLUDES) libcygwin:=$(cygwin_build)/libcygwin.a @@ -125,7 +125,7 @@ ifdef VERBOSE $(COMPILE_CC) $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) $< else @echo $(CC) $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) ... $^;\ - $(COMPILE_CC) $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) $< + ${filter-out -I$(newlib_source)/%,$(COMPILE_CC)} $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) $< endif clean: |