From 713289ffd93118738a2df1ec4abb2707593520f4 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Sat, 13 Nov 2021 19:14:04 +0100 Subject: [PATCH] Removed -pthread and -fno-strict-aliasing flags --- Makefile | 2 +- tester/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 649948c..2a079dc 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ HDRS := $(filter-out $(LIBNAME).hpp,$(wildcard *.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 else diff --git a/tester/Makefile b/tester/Makefile index ba6cdc8..f8f3ad8 100644 --- a/tester/Makefile +++ b/tester/Makefile @@ -15,7 +15,7 @@ MANDIR ?= $(DATADIR)/man RM := /bin/rm -f 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 else