aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorbeenje <beenje@xbmc.org>2011-05-11 23:21:24 +0200
committerbeenje <beenje@xbmc.org>2011-05-11 23:32:44 +0200
commitb7a1d923692333728e4d86b69c3b0aaf6df508a1 (patch)
treeb7cb6ae461e67628563630c07d77be4a60a81171 /tools
parent5fc129d7dd1ad839b2791bfe847049cdaa5f8425 (diff)
[osx] fixed TexturePacker Makefile (2nd try)
Diffstat (limited to 'tools')
-rw-r--r--tools/TexturePacker/Makefile.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/TexturePacker/Makefile.in b/tools/TexturePacker/Makefile.in
index 600b9732cc..fc5a80c7d5 100644
--- a/tools/TexturePacker/Makefile.in
+++ b/tools/TexturePacker/Makefile.in
@@ -1,6 +1,5 @@
-ARCH=@ARCH@
DEFINES += -D_LINUX -DUSE_LZO_PACKING
-ifneq ($(or $(findstring powerpc,arm-osx),$(findstring ppc, arm-osx)),)
+ifneq ($(or $(findstring powerpc,@ARCH@),$(findstring ppc, @ARCH@)),)
DEFINES += -DHOST_BIGENDIAN
endif
@@ -13,7 +12,7 @@ CXXFLAGS+= \
ifeq (@USE_TEXTUREPACKER_NATIVE@,1)
NATIVE_ROOT_PATH=@USE_TEXTUREPACKER_NATIVE_ROOT@
ifdef NATIVE_ROOT_PATH
-ifeq ($(findstring osx,$(ARCH)),osx)
+ifeq ($(findstring osx,@ARCH@),osx)
CXXFLAGS+= -m32
endif
CXXFLAGS+= -I$(NATIVE_ROOT_PATH)/include