From 05b6553cba52cb7721005af087ec2a8b33ee88b8 Mon Sep 17 00:00:00 2001 From: Nathan Freitas Date: Fri, 25 Apr 2014 12:45:11 -0400 Subject: [PATCH] add binary stripping to makefile --- external/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/external/Makefile b/external/Makefile index 899bb2f6..96b75edc 100644 --- a/external/Makefile +++ b/external/Makefile @@ -58,6 +58,7 @@ STRIP := $(NDK_TOOLCHAIN_BASE)/bin/$(HOST)-strip \ CFLAGS = -DANDROID $(TARGET_CFLAGS) LDFLAGS = -llog $(TARGET_LDFLAGS) + # change 'release' to 'debug' for unoptimized debug builds ifeq ($(APP_ABI),armeabi-v7a) CFLAGS += $(TARGET_arm_release_CFLAGS) @@ -324,9 +325,13 @@ jtorctl-clean: assets: tor polipo jtorctl iptables obfsclient install bin/jtorctl.jar ../libs install -d ../res/raw + -$(NDK_TOOLCHAIN_BASE)/bin/$(HOST)-strip --strip-debug bin/polipo -zip ../res/raw/polipo.mp3 bin/polipo + -$(NDK_TOOLCHAIN_BASE)/bin/$(HOST)-strip --strip-debug bin/obfsclient -zip ../res/raw/obfsclient.mp3 bin/obfsclient + -$(NDK_TOOLCHAIN_BASE)/bin/$(HOST)-strip --strip-debug bin/tor -zip ../res/raw/tor.mp3 bin/tor + -$(NDK_TOOLCHAIN_BASE)/bin/$(HOST)-strip --strip-debug bin/xtables -zip ../res/raw/xtables.mp3 bin/xtables assets-clean: