From 770ca2d401143837e212fea3fd087ed8e7623998 Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Sat, 21 Oct 2017 22:12:39 +0100 Subject: [PATCH] sslh: simplify Makefile Fixes bug where sslh was being linked against libconfig, but libconfig CPPFLAGS were being ignored. Signed-off-by: Jonathan McCrohan --- net/sslh/Makefile | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/net/sslh/Makefile b/net/sslh/Makefile index 695730d52f..1a4e25c926 100644 --- a/net/sslh/Makefile +++ b/net/sslh/Makefile @@ -34,19 +34,8 @@ define Package/sslh/conffiles /etc/sslh.conf endef -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - CC="$(TARGET_CC)" \ - CFLAGS="$(TARGET_CFLAGS)" \ - CPPFLAGS="$(TARGET_CPPFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - ENABLE_REGEX=1 \ - USELIBCONFIG=1 \ - USELIBWRAP= \ - USELIBPCRE= \ - $(if $(CONFIG_USE_GLIBC),USELIBPCRE=,USELIBPCRE=1)\ - all -endef +MAKE_FLAGS += \ + $(if $(CONFIG_USE_GLIBC),USELIBPCRE=,USELIBPCRE=1) define Package/sslh/install $(INSTALL_DIR) $(1)/usr/sbin -- 2.30.2