From 250fb97d4df635c03ef885abed62a585b2cf4909 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 3 Jan 2011 22:31:09 +0000 Subject: for android, need to set include path too svn path=/trunk/externals/template/; revision=14690 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index af82e49..416316b 100644 --- a/Makefile +++ b/Makefile @@ -122,7 +122,7 @@ ifeq ($(UNAME),ANDROID) NDK_TOOLCHAIN=$(NDK_BASE)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86 CC=$(NDK_TOOLCHAIN)/bin/arm-linux-androideabi-gcc OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer - CFLAGS += -fPIC + CFLAGS += -fPIC -I$(NDK_SYSROOT)/usr/include LDFLAGS += -Wl,--export-dynamic -L$(NDK_SYSROOT)/usr/lib -shared -fPIC LIBS += -lc STRIP = strip --strip-unneeded -R .note -R .comment -- cgit v1.2.1