build/config.mk : Define CPU_IS_LITTLE_ENDIAN as needed.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
Erik de Castro Lopo 2014-07-13 20:35:11 +10:00
parent 31948291a2
commit 4a63f10f78
1 changed files with 2 additions and 2 deletions

View File

@ -95,9 +95,9 @@ else
endif
ifeq ($(PROC),ppc)
CONFIG_CFLAGS += -DWORDS_BIGENDIAN=1
CONFIG_CFLAGS += -DWORDS_BIGENDIAN=1 -DCPU_IS_LITTLE_ENDIAN=0
else
CONFIG_CFLAGS += -DWORDS_BIGENDIAN=0
CONFIG_CFLAGS += -DWORDS_BIGENDIAN=0 -DCPU_IS_LITTLE_ENDIAN=1
endif
ifeq ($(OS),Linux)