mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-20 16:01:10 +08:00
* Makefile.common (LIBGCC): Acommodate older gcc's that don't need libstdc++.a.
This commit is contained in:
parent
ad30b4ffca
commit
be69ad802b
@ -1,3 +1,8 @@
|
||||
Mon Oct 23 00:50:02 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* Makefile.common (LIBGCC): Acommodate older gcc's that don't need
|
||||
libstdc++.a.
|
||||
|
||||
Sat Oct 21 18:01:22 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* Makefile.common (LIBGCC): Find libstdc++.a as well as libc.a since
|
||||
|
@ -85,8 +85,14 @@ c=-E
|
||||
o=.E
|
||||
endif
|
||||
|
||||
LIBGCC:=${subst \,/,${shell $(CC_FOR_TARGET) -print-libgcc-file-name; exec $(CC_FOR_TARGET) -print-file-name=libstdc++.a}}
|
||||
GCC_INCLUDE:=${dir ${word 1,$(LIBGCC)}}/include
|
||||
libstdcxx:=${subst \,/,${shell $(CC_FOR_TARGET) -print-file-name=libstdc++.a}}
|
||||
ifeq ($(libstdcxx),${notdir $(libstdcxx)})
|
||||
LIBGCC+=${subst \,/,${shell $(CC_FOR_TARGET) -print-libgcc-file-name}}
|
||||
else
|
||||
LIBGCC:=${subst \,/,${shell $(CC_FOR_TARGET) -print-libgcc-file-name}} $(libstdcxx)
|
||||
endif
|
||||
|
||||
GCC_INCLUDE:=${word 1,${dir $(LIBGCC)}}/include
|
||||
|
||||
COMPILE_CXX:=$(CC) $c -nostdinc++ $(ALL_CXXFLAGS) -I$(GCC_INCLUDE) \
|
||||
-fno-rtti -fno-exceptions
|
||||
|
Loading…
x
Reference in New Issue
Block a user