diff --git a/Makefile b/Makefile index e453519..c235a3b 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ HDRS := $(wildcard src/*.hpp) CXX ?= g++ -CXXFLAGS := $(CXXFLAGS) -Wshadow -Wall -Wpedantic -Wextra -g -fno-strict-aliasing -std=c++17 -fPIC +CXXFLAGS += -Wshadow -Wall -Wpedantic -Wextra -g -std=c++17 -fPIC 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