# HG changeset patch # User Sam Lantinga # Date 1294168963 28800 # Node ID faad280e32803fc6070d7a28fa71cfea4471a615 # Parent 2ac33eaa8a312252c286a9463a3090de95d2b423 Fixes the following warning: uses variable-size enums yet the output is to use 32-bit enums diff -r 2ac33eaa8a31 -r faad280e3280 Makefile.android --- 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