* Makefile.common: Avoid double slashes in GCC_INCLUDE.
This commit is contained in:
parent
ef1aafb0f3
commit
cb837d41a7
@ -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>
|
2003-02-12 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* MAINTAINERS: Remove out-of-date file.
|
* MAINTAINERS: Remove out-of-date file.
|
||||||
|
@ -115,7 +115,7 @@ endif
|
|||||||
libgcc:=${subst \,/,${shell $(CC_FOR_TARGET) -print-libgcc-file-name}}
|
libgcc:=${subst \,/,${shell $(CC_FOR_TARGET) -print-libgcc-file-name}}
|
||||||
gcc_libdir:=${word 1,${dir $(libgcc)}}
|
gcc_libdir:=${word 1,${dir $(libgcc)}}
|
||||||
ifeq (,${findstring $(gcc_libdir),$(CFLAGS) $(CXXFLAGS) $(CXX) $(CC)})
|
ifeq (,${findstring $(gcc_libdir),$(CFLAGS) $(CXXFLAGS) $(CXX) $(CC)})
|
||||||
GCC_INCLUDE:=-I$(gcc_libdir)/include
|
GCC_INCLUDE:=${subst //,/,-I$(gcc_libdir)/include}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
COMPILE_CXX=$(CXX) $c -nostdinc++ -nostdinc $(ALL_CXXFLAGS) $(GCC_INCLUDE) \
|
COMPILE_CXX=$(CXX) $c -nostdinc++ -nostdinc $(ALL_CXXFLAGS) $(GCC_INCLUDE) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user