changeset 4951:faad280e3280

Fixes the following warning: uses variable-size enums yet the output is to use 32-bit enums
author Sam Lantinga <slouken@libsdl.org>
date Tue, 04 Jan 2011 11:22:43 -0800
parents 2ac33eaa8a31
children 18fe0aded409
files Makefile.android
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.android	Tue Jan 04 11:07:27 2011 -0800
+++ b/Makefile.android	Tue Jan 04 11:22:43 2011 -0800
@@ -5,7 +5,7 @@
 TOOLS_PATH=$(ANDROID_NDK)/toolchains/arm-eabi-4.4.0/prebuilt/darwin-x86/bin
 ANDROID_INCLUDES = -I$(ANDROID_NDK)/platforms/android-4/arch-arm/usr/include 
 INCLUDE = -I./include
-CFLAGS  = -g -O2 $(INCLUDE) $(ANDROID_INCLUDES) -DANDROID -DANDROID_NDK -static
+CFLAGS  = -g -O2 -fno-short-enums $(INCLUDE) $(ANDROID_INCLUDES) -DANDROID -DANDROID_NDK -static
 
 AR	= $(TOOLS_PATH)/arm-eabi-ar
 RANLIB	= $(TOOLS_PATH)/arm-eabi-ranlib