examples/ipsec-secgw: add debug build option
Add support for building the application with DEBUG=1. This option adds the compiler stack protection flag and enables extra output in the application. Also remove unnecessary VPATH setup. Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
parent
4e94250019
commit
973d3d8285
@ -46,8 +46,9 @@ ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)
|
||||
CFLAGS_sa.o += -diag-disable=vec
|
||||
endif
|
||||
|
||||
|
||||
VPATH += $(SRCDIR)/librte_ipsec
|
||||
ifeq ($(DEBUG),1)
|
||||
CFLAGS += -DIPSEC_DEBUG -fstack-protector-all
|
||||
endif
|
||||
|
||||
#
|
||||
# all source are stored in SRCS-y
|
||||
|
Loading…
x
Reference in New Issue
Block a user