lbry-fdroid/p4a/pythonforandroid/recipes/sdl2_image/extra_cflags.patch

12 lines
533 B
Diff
Raw Normal View History

2017-08-13 03:24:00 +02:00
--- orig/Android.mk 2016-01-03 06:52:28.000000000 +0100
+++ patch/Android.mk 2016-04-15 21:03:18.547379710 +0200
@@ -25,7 +25,7 @@
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_CFLAGS := -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM -DLOAD_PCX -DLOAD_PNM \
-DLOAD_TGA -DLOAD_XCF -DLOAD_XPM -DLOAD_XV
-LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays
+LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays $(EXTRA_CFLAGS)
LOCAL_SRC_FILES := $(notdir $(filter-out %/showimage.c, $(wildcard $(LOCAL_PATH)/*.c)))