diff options
Diffstat (limited to 'arch/arc/config.mk')
-rw-r--r-- | arch/arc/config.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/config.mk b/arch/arc/config.mk index 6fa29adae8..118472b2d0 100644 --- a/arch/arc/config.mk +++ b/arch/arc/config.mk @@ -9,12 +9,12 @@ CONFIG_SYS_BIG_ENDIAN = 1 endif ifdef CONFIG_SYS_LITTLE_ENDIAN -PLATFORM_LDFLAGS += -EL +KBUILD_LDFLAGS += -EL PLATFORM_CPPFLAGS += -mlittle-endian endif ifdef CONFIG_SYS_BIG_ENDIAN -PLATFORM_LDFLAGS += -EB +KBUILD_LDFLAGS += -EB PLATFORM_CPPFLAGS += -mbig-endian endif |