From 7c520cd3ad42f5d94a9888bb9b3db7c79b6fd94f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 2 Jun 2009 22:09:53 +0200 Subject: fix regressions for allconfig alix1c glibc target --- package/gcc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/gcc/Makefile') diff --git a/package/gcc/Makefile b/package/gcc/Makefile index 3c9bc296c..14328595e 100644 --- a/package/gcc/Makefile +++ b/package/gcc/Makefile @@ -43,7 +43,11 @@ post-install: ${INSTALL_BIN} ${WRKINST}/usr/bin/gcc ${IDIR_GCC}/usr/bin/ ${INSTALL_BIN} ${WRKINST}/usr/bin/cpp ${IDIR_GCC}/usr/bin/ ${CP} ${WRKINST}/usr/lib/gcc/* ${IDIR_GCC}/usr/lib/gcc/ +ifeq ($(ADK_TARGET_LIB_GLIBC),y) + ${CP} ${STAGING_DIR}/usr/lib/crt* ${IDIR_GCC}/usr/lib +else ${CP} ${STAGING_DIR}/lib/crt* ${IDIR_GCC}/usr/lib +endif rm -rf ${IDIR_GCC}/usr/lib/gcc/*/*/include-fixed rm -rf ${IDIR_GCC}/usr/lib/gcc/*/*/install-tools -- cgit v1.2.3