# HG changeset patch # User dholmes # Date 1340717527 -3600 # Node ID 8ff6e91a04550f157c65394b4824c8ab88d3e683 # Parent a1985f14b03009e376e5b8341f8b097112be8b0f Support building BDB on ppc Reviewed-by: chegar diff -r a1985f14b030 -r 8ff6e91a0455 make/Makefile --- a/make/Makefile Fri May 11 10:42:02 2012 +0100 +++ b/make/Makefile Tue Jun 26 14:32:07 2012 +0100 @@ -118,8 +118,9 @@ endif endif - ifeq ($(CROSS_COMPILE_ARCH), arm) - BDB_CONFIG_OPTIONS+=--build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi \ + # This is a crude hack and needs to be handled correctly + ifneq ($(CROSS_COMPILE_ARCH), ) + BDB_CONFIG_OPTIONS+=--build=i686-pc-linux-gnu --host=$(CROSS_COMPILE_ARCH)-none-linux-gnueabi \ cross_compiling=yes endif