From 9ef6a747e18e8aec0d9edd426755b8a4554211ca Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Sat, 13 Nov 2021 19:13:03 +0100 Subject: [PATCH] Removed -pthread and -fno-strict-aliasing flags --- Makefile | 2 +- tests/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index dc83902..c5e7a4c 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