diff --git a/Makefile b/Makefile index a34594f..3d38a94 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ CXX ?= g++ RM := /bin/rm -rf INSTALL := /usr/bin/install -c -CXXFLAGS := $(CXXFLAGS) -Wshadow -Wall -Wpedantic -Wextra -g -fno-strict-aliasing -std=c++17 -pthread +CXXFLAGS += -Wshadow -Wall -Wpedantic -Wextra -g -std=c++17 ifeq ($(DEBUG),1) CXXFLAGS += -D DEBUG -O0 CONFIG := debug diff --git a/tests/Makefile b/tests/Makefile index ae065a3..7e524f5 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -14,7 +14,7 @@ CXX ?= g++ RM := /bin/rm -rf INSTALL := /usr/bin/install -c -CXXFLAGS := $(CXXFLAGS) -Wshadow -Wall -Wpedantic -Wextra -g -fno-strict-aliasing -std=c++17 -pthread -I../src +CXXFLAGS += -Wshadow -Wall -Wpedantic -Wextra -g -std=c++17 -I../src ifeq ($(DEBUG),1) CXXFLAGS += -D DEBUG -O0 CONFIG := debug