From a6412ad046445d2b617b6170eacaf2ed21e34d7b Mon Sep 17 00:00:00 2001 From: Cyrille Henry Date: Wed, 22 Jan 2014 20:13:45 +0000 Subject: remove warning svn path=/trunk/externals/pmpd/; revision=17239 --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index c7380ba..372c0d2 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ ALL_LIBS = #------------------------------------------------------------------------------# # these can be set from outside without (usually) breaking the build -CFLAGS = -Wall -W -g -Wno-unused +CFLAGS = -W -g LDFLAGS = LIBS = @@ -145,16 +145,14 @@ ifeq ($(UNAME),ANDROID) NDK_SYSROOT=$(NDK_BASE)/platforms/android-$(NDK_PLATFORM_LEVEL)/arch-$(NDK_ABI) NDK_UNAME := $(shell uname -s | tr '[A-Z]' '[a-z]') NDK_COMPILER_VERSION=4.6 - NDK_TOOLCHAIN=$(wildcard \ - $(NDK_BASE)/toolchains/$(NDK_ABI)*-$(NDK_COMPILER_VERSION)/prebuilt/$(NDK_UNAME)-x86) + NDK_TOOLCHAIN=$(wildcard $(NDK_BASE)/toolchains/$(NDK_ABI)*-$(NDK_COMPILER_VERSION)/prebuilt/$(NDK_UNAME)-x86_64) CC := $(wildcard $(NDK_TOOLCHAIN)/bin/*-linux-android*-gcc) --sysroot=$(NDK_SYSROOT) OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer CFLAGS += LDFLAGS += -rdynamic -shared SHARED_LDFLAGS += -Wl,-soname,$(SHARED_LIB) -shared LIBS += -lc $(LIBS_android) - STRIP := $(wildcard $(NDK_TOOLCHAIN)/bin/$(NDK_ABI)-linux-android*-strip) \ - --strip-unneeded -R .note -R .comment + STRIP := $(wildcard $(NDK_TOOLCHAIN)/bin/$(NDK_ABI)-linux-android*-strip) --strip-unneeded -R .note -R .comment DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) endif ifeq ($(UNAME),Linux) -- cgit v1.2.1