From ad476cae972c5aa909720f67bc335837add4a834 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Tue, 30 May 2017 20:46:28 -0700 Subject: [PATCH] dpdkbuild: enable -g for debug builds Signed-off-by: Jim Harris Change-Id: I97ded298a6008fe73738e52c020b4a4d2d160256 Reviewed-on: https://review.gerrithub.io/363137 Tested-by: SPDK Automated Test System Reviewed-by: Daniel Verkamp Reviewed-by: Ben Walker --- dpdkbuild/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpdkbuild/Makefile b/dpdkbuild/Makefile index d7da8e906c..d6660f1f90 100644 --- a/dpdkbuild/Makefile +++ b/dpdkbuild/Makefile @@ -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: