diff options
| author | Sebastian Kemper | 2018-02-24 09:35:35 +0000 |
|---|---|---|
| committer | Sebastian Kemper | 2018-02-24 09:35:37 +0000 |
| commit | 0791cc6f494329452b92108652241401e674d096 (patch) | |
| tree | f4b71b391f3cb63a38366762103ec74492e3e3ad | |
| parent | 9a034c9775d885d8d2eae08dbb50a02328b55399 (diff) | |
| download | telephony-0791cc6f494329452b92108652241401e674d096.tar.gz | |
libosip2: remove $(FPIC) from TARGET_CFLAGS
libosip2 already makes sure that the compiler emits position-independent
code. Adding $(FPIC) makes no difference. In addition the libosip2 build
system puts its own flag behind the CFLAGS, overriding whatever was set
before.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
| -rw-r--r-- | libs/libosip2/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libosip2/Makefile b/libs/libosip2/Makefile index 4440880..100990b 100644 --- a/libs/libosip2/Makefile +++ b/libs/libosip2/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2014 OpenWrt.org +# Copyright (C) 2014 - 2018 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -38,7 +38,7 @@ define Package/libosip2/description endef # toolchain __arc__ define conflicts with libosip2 source -TARGET_CFLAGS += $(FPIC) $(if $(CONFIG_arc),-U__arc__) +TARGET_CFLAGS += $(if $(CONFIG_arc),-U__arc__) CONFIGURE_ARGS += \ --enable-shared \ |