summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
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 65899a334..b27497e87 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -114,7 +114,7 @@ GCC_FINAL_CONFOPTS+= --disable-biarch --disable-multilib
endif
ifeq ($(ADK_TARGET_ARCH_SH),y)
-ifeq ($(ADK_little),y)
+ifeq ($(ADK_TARGET_LITTLE_ENDIAN),y)
GCC_CONFOPTS+= --with-endian=little
else
GCC_CONFOPTS+= --with-endian=big