summaryrefslogtreecommitdiff
path: root/package/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-02 22:09:53 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-02 22:09:53 +0200
commit7c520cd3ad42f5d94a9888bb9b3db7c79b6fd94f (patch)
treec2cb6c76cdcc70b6ee1ca13f6ca209cc88d84305 /package/gcc/Makefile
parentec275cae0293507fd03a7eeb972780fdbd5d40aa (diff)
fix regressions for allconfig alix1c glibc target
Diffstat (limited to 'package/gcc/Makefile')
-rw-r--r--package/gcc/Makefile4
1 files changed, 4 insertions, 0 deletions
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