From 9e5b5fe36cbe2f5f7c1f350a13f14bd948814909 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Sat, 13 Nov 2021 19:14:03 +0100 Subject: [PATCH] Removed -pthread and -fno-strict-aliasing flags --- Makefile | 2 +- sciotest/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e003ae6..ae29f1c 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ DEPS := $(subst .cpp,.d,$(SRCS)) 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/sciotest/Makefile b/sciotest/Makefile index d515b81..d9a31e9 100644 --- a/sciotest/Makefile +++ b/sciotest/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