From 522f268d052a5e959f536487c93068e83a62c35a 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 +- tests/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9cc91d3..4d81130 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