diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-20 15:20:33 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-20 15:20:33 +1000 |
commit | ac8a4999e62fed6cbfe284ffda2d00dd76f5b1cb (patch) | |
tree | 1855ad30202552a48606831836a6546e466b5d68 /Makefile.main | |
parent | 947c2ccc0941411ad726a97e301e6d4753c6fde3 (diff) | |
download | skiboot-ac8a4999e62fed6cbfe284ffda2d00dd76f5b1cb.zip skiboot-ac8a4999e62fed6cbfe284ffda2d00dd76f5b1cb.tar.gz skiboot-ac8a4999e62fed6cbfe284ffda2d00dd76f5b1cb.tar.bz2 |
Fix HOSTEND check in Makefile.main for ppc64le
Otherwise we build with -DHAVE_BIG_ENDIAN on ppc64le, which is *NOT*
what we want for HOSTCC on ppc64le.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.main')
-rw-r--r-- | Makefile.main | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.main b/Makefile.main index c655778..7687d9e 100644 --- a/Makefile.main +++ b/Makefile.main @@ -28,7 +28,7 @@ CWARNS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ # Host tools and options HOSTCC=gcc -HOSTEND=$(shell uname -m | sed -e 's/^i.*86$$/LITTLE/' -e 's/^x86.*/LITTLE/' -e 's/^ppc.*/BIG/') +HOSTEND=$(shell uname -m | sed -e 's/^i.*86$$/LITTLE/' -e 's/^x86.*/LITTLE/' -e 's/^ppc64le/LITTLE/' -e 's/^ppc.*/BIG/') HOSTCFLAGS=-O1 $(CWARNS) -DHAVE_$(HOSTEND)_ENDIAN -MMD VALGRIND=valgrind -q --show-reachable=yes --error-exitcode=99 |