ARM makefile tweaks

This commit is contained in:
Joel Dice 2010-11-09 11:28:58 -07:00
parent 51ba49def6
commit 110f41b7a0

View File

@ -147,7 +147,15 @@ endif
ifeq ($(arch),arm)
asm = arm
pointer-size = 4
cflags += -Wno-psabi -march=armv5t
cflags += -Wno-psabi
ifneq ($(arch),$(build-arch))
cxx = arm-linux-gnueabi-g++
cc = arm-linux-gnueabi-gcc
ar = arm-linux-gnueabi-ar
ranlib = arm-linux-gnueabi-ranlib
strip = arm-linux-gnueabi-strip
endif
endif
ifeq ($(platform),darwin)
@ -180,16 +188,6 @@ ifeq ($(platform),darwin)
endif
endif
ifeq ($(arch),arm)
ifneq ($(arch),$(build-arch))
cxx = arm-linux-gnueabi-g++
cc = arm-linux-gnueabi-gcc
ar = arm-linux-gnueabi-ar
ranlib = arm-linux-gnueabi-ranlib
strip = arm-linux-gnueabi-strip
endif
endif
ifeq ($(platform),windows)
inc = "$(root)/win32/include"
lib = "$(root)/win32/lib"