summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas De Schampheleire <thomas.de.schampheleire@gmail.com>2015-07-26 20:58:29 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-26 23:44:20 +0200
commitd4b539564fce4aa8bfbbd9e16c801b8ddae96141 (patch)
treefd3317c39654efba2442bf5cc38cf6a846af7ecf
parent0b97d38e9e84658a8abaad6bbf0e323d496e415d (diff)
aiccu: remove redundant --static flag to pkg-config
The pkg-config tool is automatically passing --static when BR2_STATIC_LIBS is set (see package/pkgconf/pkgconf.mk), so no need to pass it explicitly from package .mk files. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/aiccu/aiccu.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/aiccu/aiccu.mk b/package/aiccu/aiccu.mk
index fc328fd5a..60d65dd01 100644
--- a/package/aiccu/aiccu.mk
+++ b/package/aiccu/aiccu.mk
@@ -16,7 +16,7 @@ AICCU_LFDLAGS = $(TARGET_LDFLAGS)
# aiccu forgets to link with gnutls' dependencies breaking the build when
# linking statically
ifeq ($(BR2_STATIC_LIBS),y)
-AICCU_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --static --libs gnutls`
+AICCU_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs gnutls`
endif
# dummy RPM_OPT_FLAGS to disable stripping