aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2014-01-22 20:13:45 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2014-01-22 20:13:45 +0000
commita6412ad046445d2b617b6170eacaf2ed21e34d7b (patch)
tree60842f653050596ed444e69e399d2af90e4370ed
parent5d708f00a9b3e2aeeeb8b0f74fa3288b3697ab6b (diff)
remove warning
svn path=/trunk/externals/pmpd/; revision=17239
-rw-r--r--Makefile8
1 files 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)