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 <sebastian_ml@gmx.net>
This commit is contained in:
parent
706ea18d8c
commit
8763b0703f
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ PKG_MAKE_ARGS:= \
|
||||||
cfg_target:=/etc/kamailio/ \
|
cfg_target:=/etc/kamailio/ \
|
||||||
TLS_HOOKS=1 \
|
TLS_HOOKS=1 \
|
||||||
extra_defs="-DUSE_PTHREAD_MUTEX " \
|
extra_defs="-DUSE_PTHREAD_MUTEX " \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||||
LOCALBASE="$(STAGING_DIR)/usr" \
|
LOCALBASE="$(STAGING_DIR)/usr" \
|
||||||
SYSBASE="$(STAGING_DIR)/usr" \
|
SYSBASE="$(STAGING_DIR)/usr" \
|
||||||
PCREDEFS:="$(TARGET_CPPFLAGS)" \
|
PCREDEFS:="$(TARGET_CPPFLAGS)" \
|
||||||
|
|
Loading…
Reference in a new issue