From 141bcc0f9d8ebfd06865420653333347d19dc39d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 13:44:34 +0200 Subject: 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 --- package/uclibc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package/uclibc') 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 -- cgit v1.2.3