libsrtp: remove $(FPIC) from TARGET_CFLAGS
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 24 Feb 2018 09:49:43 +0000 (10:49 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 24 Feb 2018 09:49:45 +0000 (10:49 +0100)
bgg729 already makes sure that the compiler emits position-independent
code. Adding $(FPIC) makes no difference. In addition the libsrtp build
system puts its own flag behind the CFLAGS, overriding whatever was set
before.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
libs/libsrtp/Makefile

index 3f102f3ac1db6a39e9e255c1e1a8f4de96b21a1d..f54c7767b1b7ca74c191fe70b556ee82bddbda2f 100644 (file)
@@ -1,7 +1,7 @@
 #
-# Copyright (C) 2006-2017 OpenWrt.org
+# Copyright (C) 2006-2018 OpenWrt.org
 # Copyright (C) 2011 Victor Seva <linuxmaniac@torreviejawireless.org>
-# Copyright (C) 2017 Jiri Slachta <jiri@slachta.eu>
+# Copyright (C) 2017 - 2018 Jiri Slachta <jiri@slachta.eu>
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -27,7 +27,6 @@ PKG_MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
 
 include $(INCLUDE_DIR)/package.mk
 
-TARGET_CFLAGS += $(FPIC)
 CONFIGURE_ARGS += \
        --disable-stdout \
        --enable-syslog