From 16a4066e7fce2b1f69314f6f6844f694313ed038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 26 Jun 2014 14:56:46 +0300 Subject: [PATCH] Generate dependencies while building for android --- build/platform-android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/platform-android.mk b/build/platform-android.mk index cf48c083..93bf1341 100644 --- a/build/platform-android.mk +++ b/build/platform-android.mk @@ -35,7 +35,7 @@ SYSROOT = $(NDKROOT)/platforms/android-$(NDKLEVEL)/arch-$(ARCH) CXX = $(TOOLCHAINPREFIX)g++ CC = $(TOOLCHAINPREFIX)gcc AR = $(TOOLCHAINPREFIX)ar -CFLAGS += -DANDROID_NDK -fpic --sysroot=$(SYSROOT) +CFLAGS += -DANDROID_NDK -fpic --sysroot=$(SYSROOT) -MMD -MP CXXFLAGS += -fno-rtti -fno-exceptions LDFLAGS += --sysroot=$(SYSROOT) SHLDFLAGS = -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-soname,lib$(PROJECT_NAME).so