Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-03-09 22:22:15 +0300
committerChristopher Faylor <me@cgf.cx>2003-03-09 22:22:15 +0300
commitcb837d41a73aaea09a22e8e07d53f4037808c8f2 (patch)
tree4661decd4436506542cfe46a851ac0673a34611b
parentef1aafb0f342edde336cc542c128e5ddc3d569da (diff)
* Makefile.common: Avoid double slashes in GCC_INCLUDE.
-rw-r--r--winsup/ChangeLog4
-rw-r--r--winsup/Makefile.common2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/ChangeLog b/winsup/ChangeLog
index 2896e29f5..3aab10c63 100644
--- a/winsup/ChangeLog
+++ b/winsup/ChangeLog
@@ -1,3 +1,7 @@
+2003-03-09 Christopher Faylor <cgf@redhat.com>
+
+ * Makefile.common: Avoid double slashes in GCC_INCLUDE.
+
2003-02-12 Christopher Faylor <cgf@redhat.com>
* MAINTAINERS: Remove out-of-date file.
diff --git a/winsup/Makefile.common b/winsup/Makefile.common
index 18910ae3b..c98239ffb 100644
--- a/winsup/Makefile.common
+++ b/winsup/Makefile.common
@@ -115,7 +115,7 @@ endif
libgcc:=${subst \,/,${shell $(CC_FOR_TARGET) -print-libgcc-file-name}}
gcc_libdir:=${word 1,${dir $(libgcc)}}
ifeq (,${findstring $(gcc_libdir),$(CFLAGS) $(CXXFLAGS) $(CXX) $(CC)})
-GCC_INCLUDE:=-I$(gcc_libdir)/include
+GCC_INCLUDE:=${subst //,/,-I$(gcc_libdir)/include}
endif
COMPILE_CXX=$(CXX) $c -nostdinc++ -nostdinc $(ALL_CXXFLAGS) $(GCC_INCLUDE) \