summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2015-10-08 16:21:17 -0700
committerSimon Horman <horms@verge.net.au>2015-10-16 10:43:34 +0900
commit626b441109b6d6be49e3c69fdf8dbf1bf3c56bca (patch)
tree4053bff0f4ccd42d47d9811fca8cd44a4b705b5f /configure.ac
parent0974c43a18ca7be83694bd6cb92bb60515a1f828 (diff)
configure: Set SUBARCH=BE for powerpc
When building a 32 bit version of kexec-tools for powerpc64 set the default powerpc64 SUBARCH as BE. Fixes build errors like these: powerpc-linux-gnu/bin/ld: unrecognised emulation mode: elf64lppc Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ddb5e2b..2dc70df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,7 @@ case $target_cpu in
;;
powerpc )
ARCH="ppc"
+ SUBARCH="BE"
;;
powerpc64 )
ARCH="ppc64"