diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-04 19:46:16 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-04 19:46:16 +0200 |
commit | dfc1b1e7d8d180ce72b70ef0b629ee45fd4e2674 (patch) | |
tree | b3b67593a04ed06a6d49cd6178eafdf4bac403c5 /package/gcc | |
parent | 880a694987b2500a302722530615ec5e70a1d507 (diff) | |
parent | 322327d668e6cef8bb5f318bc414593794530b7b (diff) |
Merge branch 'master' of ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gcc')
-rw-r--r-- | package/gcc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile index c644ed5a8..6f36c1a9f 100644 --- a/package/gcc/Makefile +++ b/package/gcc/Makefile @@ -41,7 +41,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 |