From: Thomas De Schampheleire Date: Sun, 26 Jul 2015 18:58:29 +0000 (+0200) Subject: aiccu: remove redundant --static flag to pkg-config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4b539564fce4aa8bfbbd9e16c801b8ddae96141;p=buildroot.git 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 Reviewed-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/aiccu/aiccu.mk b/package/aiccu/aiccu.mk index fc328fd5a6..60d65dd014 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