avahi: fix reliance on config symbol SSP_SUPPORT 12331/head
authorIan Cooper <iancooper@hotmail.com>
Tue, 26 May 2020 19:27:09 +0000 (20:27 +0100)
committerIan Cooper <iancooper@hotmail.com>
Tue, 26 May 2020 19:27:09 +0000 (20:27 +0100)
The config symbol SSP_SUPPORT is ambiguous and means different
things to different packages: either "toolchain is compiled
with ssp support" or "toolchain uses gcc libssp". The use of the
symbol should be deprecated and the appropriate symbol used
instead.

Signed-off-by: Ian Cooper <iancooper@hotmail.com>
libs/avahi/Makefile

index 3da22bb3bba7b3a596aea264b56d678c6df4a0e9..0b5bec29d65bd42b7e1a4388e05a7a788b17beb7 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=avahi
 PKG_VERSION:=0.8
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/lathiat/avahi/releases/download/v$(PKG_VERSION) \
@@ -251,7 +251,7 @@ $(call Package/avahi/Default/description)
 endef
 
 TARGET_CFLAGS += $(FPIC) -DGETTEXT_PACKAGE
-TARGET_LDFLAGS += $(if $(CONFIG_SSP_SUPPORT),-lssp_nonshared)
+TARGET_LDFLAGS += $(if $(CONFIG_GCC_LIBSSP),-lssp_nonshared)
 
 CONFIGURE_ARGS += \
        --enable-shared \