SDL: fixed optimization flags for debug builds, I can finally run ndk-gdb because I've got a new phone yay
This commit is contained in:
@@ -5,11 +5,15 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := sdl_image
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/../jpeg/include $(LOCAL_PATH)/../png/include $(LOCAL_PATH)/../sdl-$(SDL_VERSION)/include $(LOCAL_PATH)/include
|
||||
LOCAL_CFLAGS := -O3 \
|
||||
LOCAL_CFLAGS := \
|
||||
-DLOAD_JPG -DLOAD_PNG -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM \
|
||||
-DLOAD_PCX -DLOAD_PNM -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM \
|
||||
-DLOAD_XV
|
||||
|
||||
ifneq ($(NDK_DEBUG),1)
|
||||
LOCAL_CFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
LOCAL_CPP_EXTENSION := .cpp
|
||||
|
||||
LOCAL_SRC_FILES := $(notdir $(wildcard $(LOCAL_PATH)/*.c))
|
||||
|
||||
Reference in New Issue
Block a user