From 847d4d93f28423d9f4bc1f3c4e02c936f90d0798 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 4 Aug 2011 08:34:29 +0200 Subject: Add define '__X11__', is isX11 ; Android attach system include folders via -isystem (which come after -I) --- make/gluegen-cpptasks-base.xml | 19 +++++++++++++++++++ make/lib/gluegen-cpptasks-android-armv7.xml | 6 ++++-- make/scripts/make.gluegen.all.android-armv7-cross.sh | 2 -- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml index dd7f1cf..e7af64c 100755 --- a/make/gluegen-cpptasks-base.xml +++ b/make/gluegen-cpptasks-base.xml @@ -317,6 +317,7 @@ + @@ -600,6 +601,7 @@ + @@ -611,6 +613,7 @@ + @@ -621,6 +624,7 @@ + @@ -632,6 +636,7 @@ + @@ -641,15 +646,21 @@ + + + + + + @@ -669,6 +680,7 @@ + + + diff --git a/make/lib/gluegen-cpptasks-android-armv7.xml b/make/lib/gluegen-cpptasks-android-armv7.xml index 38b42f2..f2ed4cf 100644 --- a/make/lib/gluegen-cpptasks-android-armv7.xml +++ b/make/lib/gluegen-cpptasks-android-armv7.xml @@ -26,8 +26,10 @@ - - + + + + diff --git a/make/scripts/make.gluegen.all.android-armv7-cross.sh b/make/scripts/make.gluegen.all.android-armv7-cross.sh index 6cbd5cf..23b13b7 100755 --- a/make/scripts/make.gluegen.all.android-armv7-cross.sh +++ b/make/scripts/make.gluegen.all.android-armv7-cross.sh @@ -76,8 +76,6 @@ export NDK_READELF=${NDK_XBIN_PATH}/${TARGET_ARCH}-readelf export PATH=${NDK_XBIN_PATH}:$PATH -export NDK_INCLUDE="-I${TARGET_OS_PATH}/include" - export NDK_CFLAGS="\ -march=${TARGET_CPU_NAME} \ -- cgit v1.2.3