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 /winsup/Makefile.common
parentef1aafb0f342edde336cc542c128e5ddc3d569da (diff)
* Makefile.common: Avoid double slashes in GCC_INCLUDE.
Diffstat (limited to 'winsup/Makefile.common')
-rw-r--r--winsup/Makefile.common2
1 files changed, 1 insertions, 1 deletions
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) \