dpdkbuild: enable -g for debug builds

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I97ded298a6008fe73738e52c020b4a4d2d160256

Reviewed-on: https://review.gerrithub.io/363137
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Jim Harris 2017-05-30 20:46:28 -07:00 committed by Ben Walker
parent 17ce81a0d9
commit ad476cae97

View File

@ -59,7 +59,7 @@ DPDK_CFLAGS = -fPIC
endif
ifeq ($(CONFIG_DEBUG),y)
DPDK_CFLAGS += -O0
DPDK_CFLAGS += -O0 -g
endif
$(SPDK_ROOT_DIR)/dpdk/build: