summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: da7da1c)
raw | patch | inline | side by side (parent: da7da1c)
author | mittorn <mittorn@sibmail.com> | |
Sun, 24 May 2015 16:28:46 +0000 (23:28 +0700) | ||
committer | mittorn <mittorn@sibmail.com> | |
Sun, 24 May 2015 16:28:46 +0000 (23:28 +0700) |
Android.mk | patch | blob | history |
diff --git a/Android.mk b/Android.mk
index 7be1dc2793c5639c0614b3961dbf3048fab192fb..e7654fcf4e20e0aa3c4c1f1b1db4da1364afd050 100644 (file)
--- a/Android.mk
+++ b/Android.mk
LOCAL_MODULE := NanoGL
-LOCAL_CFLAGS := -O2
+LOCAL_CFLAGS += $(CFLAGS_OPT)
+ifeq ($(TARGET_ARCH),arm)
+LOCAL_CFLAGS += $(CFLAGS_OPT_ARM)
+endif
+ifeq ($(TARGET_ARCH),x86)
+LOCAL_CFLAGS += $(CFLAGS_OPT_X86)
+endif
+
+LOCAL_CFLAGS +=
LOCAL_C_INCLUDES := $(LOCAL_PATH)/GL