summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-05-22 12:08:54 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-05-22 12:09:04 +0200
commit13c9428fc4d2f5611a9930fda24ae314a19d6c36 (patch)
treee50cd1f02c10c9098a680b16008d2fd7dc495d2c /toolchain/gcc/Makefile
parentf44df263b7317f05ce71513421af6d70171d5d21 (diff)
sh: allow to build fdpic toolchain for pure sh architecture
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 3d01510b1..8f8cacd8f 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -140,7 +140,7 @@ GCC_CONFOPTS+= --with-endian=little
else
GCC_CONFOPTS+= --with-endian=big
endif
-ifeq ($(ADK_TARGET_CPU_SH_J2),y)
+ifeq ($(ADK_TARGET_ARCH_SH),y)
ifeq ($(ADK_TARGET_BINFMT_FDPIC),y)
GCC_CONFOPTS+= --enable-fdpic
endif