* Makefile.common (LIBGCC): Find libstdc++.a as well as libc.a since builtin

functions are in this library in newer gcc's.
This commit is contained in:
Christopher Faylor 2000-10-21 22:01:55 +00:00
parent 5a84a8dc2e
commit 5693c8d55b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sat Oct 21 18:01:22 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.common (LIBGCC): Find libstdc++.a as well as libc.a since
builtin functions are in this library in newer gcc's.
Sun Oct 1 22:02:38 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.common: Extend VERBOSE default.

View File

@ -85,8 +85,8 @@ c=-E
o=.E
endif
LIBGCC:=${subst \,/,${shell $(CC_FOR_TARGET) -print-libgcc-file-name}}
GCC_INCLUDE:=${dir $(LIBGCC)}/include
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
COMPILE_CXX:=$(CC) $c -nostdinc++ $(ALL_CXXFLAGS) -I$(GCC_INCLUDE) \
-fno-rtti -fno-exceptions