summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-25 11:33:12 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-25 11:33:12 +0100
commit90f4d58a679442b24af9e7e3f6f1f9ecd809e96b (patch)
treeefc426582251a01e8a2af52be7db0f994e30473b
parent5affee4da52a00e486e3dbfd36e0c2363e706f91 (diff)
Revert "workaround no longer required"
This reverts commit 6e8780e7a11362cc44a07188eb76c9035773beb5.
-rw-r--r--toolchain/gcc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 941b0fb78..b871d8644 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -179,6 +179,9 @@ endif
rm -rf ${TOOLCHAIN_DIR}/usr/$(GNU_TARGET_NAME)/lib
(cd $(TOOLCHAIN_DIR)/usr/$(GNU_TARGET_NAME); \
ln -s ../$(STAGING_HOST2TARGET)/lib lib)
+ifeq ($(ADK_TARGET_ARCH_SH),y)
+ (cd ${STAGING_TARGET_DIR}/ && ln -sf . m4 && ln -sf . m4-nofpu)
+endif
$(SED) '/k prot/agcc_cv_libc_provides_ssp=yes' $(WRKBUILD)/gcc/configure
cd $(GCC_BUILD_DIR_MINIMAL); \
PATH='$(TARGET_PATH)' \