diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-01 18:11:35 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-01 18:11:35 +0200 |
commit | 0f96a0f56c74580d580b5d695499cf4df6bad520 (patch) | |
tree | cae485dc49b51c1734d2c915e245a21616c09a36 /toolchain | |
parent | 1bad8cf3c967cac8fb149217878b56f9cec03c8b (diff) |
add support for glibc/eglibc qemu-sh systems
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gcc/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 5d00be19b..d09264718 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -33,11 +33,8 @@ else GCC_CONFOPTS+= --disable-sjlj-exceptions endif -ifeq ($(ADK_TARGET_WITH_MULTILIB),y) -ifeq ($(ADK_LINUX_X86_64),y) -GCC_CONFOPTS+= --with-multilib-list=$(ADK_MULTILIB_TARGET) -endif -GCC_CONFOPTS+= --enable-multilib +ifeq ($(ADK_LINUX_SH),y) +GCC_CONFOPTS+= --with-multilib-list=m4,m4-nofpu else GCC_CONFOPTS+= --disable-biarch \ --disable-multilib @@ -116,6 +113,9 @@ $(GCC_BUILD_DIR_MINIMAL)/.configured: ln -sf ${STAGING_TARGET_DIR}/include $(STAGING_HOST_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include rm -rf ${STAGING_HOST_DIR}/$(REAL_GNU_TARGET_NAME)/lib ln -sf ${STAGING_TARGET_DIR}/lib $(STAGING_HOST_DIR)/$(REAL_GNU_TARGET_NAME)/lib +ifeq ($(ADK_LINUX_SH),y) + (cd ${STAGING_TARGET_DIR}/ && ln -sf . m4 && ln -sf . m4-nofpu) +endif sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' $(WRKBUILD)/gcc/configure cd $(GCC_BUILD_DIR_MINIMAL); PATH='$(TARGET_PATH)' \ $(WRKBUILD)/configure \ |