Added CrystaX toolchain support

This commit is contained in:
pelya
2010-09-14 18:22:50 +03:00
parent 2dd6c70d43
commit c28c1bf8d0
8 changed files with 44 additions and 17 deletions
+6 -1
View File
@@ -27,7 +27,7 @@ COMPILED_LIBRARIES :=
APPLICATION_ADDITIONAL_CFLAGS := -finline-functions -O2 -DTREMOR=1 -DBUILD_TYPE=LINUX32 -DTARGET_LNX=1
APPLICATION_ADDITIONAL_LDFLAGS := -Lbin/ndk/local/armeabi -ltremor
APPLICATION_ADDITIONAL_LDFLAGS := -ltremor
APPLICATION_SUBDIRS_BUILD := src
@@ -39,4 +39,9 @@ ifneq ($(strip $(filter mad, $(COMPILED_LIBRARIES))),)
SDL_MIXER_USE_LIBMAD := 1
endif
ifneq ($(findstring -crystax,$(TARGET_CC)),)
$(info Building with CrystaX toolchain - RTTI and exceptions enabled, STLPort disabled)
CRYSTAX_TOOLCHAIN=1
endif
include $(call all-subdir-makefiles)