summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Limberg <grant.limberg@red.com>2015-06-01 20:01:37 -0700
committerGrant Limberg <grant.limberg@red.com>2015-06-01 20:01:37 -0700
commit74f7d5377d26c721b17b5a5380793c26df81b2e3 (patch)
tree93365e314a89a2fbd8cc7c03c31171b0d1e34b47
parent5015c0ae78c7ccca1af94e8591ee2caf65f47e6f (diff)
downloadinfinitytier-74f7d5377d26c721b17b5a5380793c26df81b2e3.tar.gz
infinitytier-74f7d5377d26c721b17b5a5380793c26df81b2e3.zip
Enable ZT_TRACE and more verbose build output
-rw-r--r--java/build.xml1
-rw-r--r--java/jni/Application.mk3
2 files changed, 3 insertions, 1 deletions
diff --git a/java/build.xml b/java/build.xml
index 0f1b311a..e24a0e13 100644
--- a/java/build.xml
+++ b/java/build.xml
@@ -37,6 +37,7 @@
<target name="build_android">
<exec dir="jni" executable="${env.NDK_BUILD_LOC}" failonerror="true">
<arg value="ZT1=${user.dir}/../"/>
+ <arg value="V=1"/>
</exec>
<copy file="libs/armeabi/libZeroTierOneJNI.so"
tofile="${user.dir}/classes/lib/armeabi/libZeroTierOneJNI.so"
diff --git a/java/jni/Application.mk b/java/jni/Application.mk
index 225169bc..3118ec2e 100644
--- a/java/jni/Application.mk
+++ b/java/jni/Application.mk
@@ -1,3 +1,4 @@
APP_ABI := armeabi armeabi-v7a arm64-v8a x86
APP_STL := gnustl_static
-APP_CPPFLAGS += -Wall -fPIE -fstack-protector -fexceptions
+APP_CPPFLAGS += -Wall -fPIE -fstack-protector -fexceptions -DZT_TRACE
+