From 13c9428fc4d2f5611a9930fda24ae314a19d6c36 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 22 May 2017 12:08:54 +0200 Subject: sh: allow to build fdpic toolchain for pure sh architecture --- toolchain/gcc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolchain/gcc/Makefile') 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 -- cgit v1.2.3