From 8763b0703f92a6df73ad2bc15d55b2e40a905975 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 3 Feb 2018 14:02:36 +0100 Subject: [PATCH] kamailio-5.x: add CPPFLAGS to CFLAGS Pass CPPFLAGS in the CFLAGS as otherwise the build system will ignore them. This way FORTIFY_SOURCE headers are passed to the compiler. Signed-off-by: Sebastian Kemper --- net/kamailio-5.x/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/kamailio-5.x/Makefile b/net/kamailio-5.x/Makefile index a8d099d..b9531b1 100644 --- a/net/kamailio-5.x/Makefile +++ b/net/kamailio-5.x/Makefile @@ -121,7 +121,7 @@ PKG_MAKE_ARGS:= \ cfg_target:=/etc/kamailio/ \ TLS_HOOKS=1 \ extra_defs="-DUSE_PTHREAD_MUTEX " \ - CFLAGS="$(TARGET_CFLAGS)" \ + CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ LOCALBASE="$(STAGING_DIR)/usr" \ SYSBASE="$(STAGING_DIR)/usr" \ PCREDEFS:="$(TARGET_CPPFLAGS)" \ -- 2.30.2