fix OS X cross-arch build regression

This commit is contained in:
Joel Dice 2011-03-01 12:20:23 -07:00
parent 6d3975adb7
commit 7a91074a32

View File

@ -202,13 +202,15 @@ ifeq ($(arch),powerpc)
asm = powerpc asm = powerpc
pointer-size = 4 pointer-size = 4
ifneq ($(arch),$(build-arch)) ifneq ($(platform),darwin)
converter-cflags += -DOPPOSITE_ENDIAN ifneq ($(arch),$(build-arch))
cxx = powerpc-linux-gnu-g++ converter-cflags += -DOPPOSITE_ENDIAN
cc = powerpc-linux-gnu-gcc cxx = powerpc-linux-gnu-g++
ar = powerpc-linux-gnu-ar cc = powerpc-linux-gnu-gcc
ranlib = powerpc-linux-gnu-ranlib ar = powerpc-linux-gnu-ar
strip = powerpc-linux-gnu-strip ranlib = powerpc-linux-gnu-ranlib
strip = powerpc-linux-gnu-strip
endif
endif endif
endif endif
ifeq ($(arch),arm) ifeq ($(arch),arm)