diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 13:44:34 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 13:44:34 +0200 |
commit | 141bcc0f9d8ebfd06865420653333347d19dc39d (patch) | |
tree | 8e498c7bb1df59a89e6bf35d7141b55dc796165c /package/uclibc | |
parent | 1298200f89501407736f0657de5d96a3e7a453b0 (diff) |
fix gcc package
- simple test c program compiles in qemu-mips with the
cross-compiled compiler
- don't know if rstrip.sh change is good, need to check,
but crt*.o symbols might not be stripped
- create helper links for libgcc + libc needed for ld
Diffstat (limited to 'package/uclibc')
-rw-r--r-- | package/uclibc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/uclibc/Makefile b/package/uclibc/Makefile index 87714561c..bd5e2687b 100644 --- a/package/uclibc/Makefile +++ b/package/uclibc/Makefile @@ -28,11 +28,13 @@ endif $(CP) $(STAGING_DIR)/lib/$$file.so.* $(IDIR_UCLIBC)/lib/; \ $(CP) $(STAGING_DIR)/lib/$$file-$(PKG_VERSION).so $(IDIR_UCLIBC)/lib/; \ done - # create ld.so link for ldd + # create links for ldd / gcc ifneq (${CPU_ARCH},x86_64) cd $(IDIR_UCLIBC)/lib && ln -sf ld-uClibc.so.0 ld.so else cd $(IDIR_UCLIBC)/lib && ln -sf ld64-uClibc.so.0 ld.so endif + cd $(IDIR_UCLIBC)/lib && ln -sf libc.so.0 libc.so + cd $(IDIR_UCLIBC)/lib && ln -sf libgcc_s.so.1 libgcc_s.so include ${TOPDIR}/mk/pkg-bottom.mk |