aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-09-22 00:40:37 +0000
committerChristopher Faylor <me@cgf.cx>2001-09-22 00:40:37 +0000
commit53df7e2aaf20b4aec28060fc030012fbc35697b0 (patch)
tree722cfe5f9a14fabcbfd9d1bc0ace830ac95be13f /winsup
parenta997e6ea10cdf3e039d43ea538d9fbc2b1dfcfe2 (diff)
downloadnewlib-53df7e2aaf20b4aec28060fc030012fbc35697b0.zip
newlib-53df7e2aaf20b4aec28060fc030012fbc35697b0.tar.gz
newlib-53df7e2aaf20b4aec28060fc030012fbc35697b0.tar.bz2
* Makefile.in (mingw_getopt.o): Ensure that newlib include directories are not
searched.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/utils/ChangeLog5
-rw-r--r--winsup/utils/Makefile.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 866a545..c3c155b 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,8 @@
+Fri Sep 21 20:40:30 2001 Christopher Faylor <cgf@cygnus.com>
+
+ * Makefile.in (mingw_getopt.o): Ensure that newlib include directories
+ are not searched.
+
Thu Sep 20 21:00:20 2001 Christopher Faylor <cgf@cygnus.com>
* Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.
diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in
index f78829d..cfd5907 100644
--- a/winsup/utils/Makefile.in
+++ b/winsup/utils/Makefile.in
@@ -122,7 +122,7 @@ endif
mingw_getopt.o: $(cygwin_source)/lib/getopt.c
ifdef VERBOSE
- $(COMPILE_CC) $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) $<
+ ${filter-out -I$(newlib_source)/%,$(COMPILE_CC)} $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) $<
else
@echo $(CC) $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) ... $^;\
${filter-out -I$(newlib_source)/%,$(COMPILE_CC)} $c -o $(@D)/$(basename $@)$o $(MINGW_CFLAGS) $<