From 36e79a1a1f2126061782ae4719bc888b8f4e112b Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 27 Apr 2017 17:28:32 -0700 Subject: [PATCH] tests : -g is part of DEBUGFLAGS --- tests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index f5260e50e..ea58c0fe5 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -26,12 +26,12 @@ PYTHON ?= python3 TESTARTEFACT := versionsTest namespaceTest -DEBUGFLAG= -DZSTD_DEBUG=1 +DEBUGFLAGS=-g -DZSTD_DEBUG=1 CPPFLAGS+= -I$(ZSTDDIR) -I$(ZSTDDIR)/common -I$(ZSTDDIR)/compress \ -I$(ZSTDDIR)/dictBuilder -I$(ZSTDDIR)/deprecated -I$(PRGDIR) \ $(DEBUGFLAG) CFLAGS ?= -O3 -CFLAGS += -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \ +CFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \ -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement \ -Wstrict-prototypes -Wundef -Wformat-security CFLAGS += $(MOREFLAGS)