Removed -pthread and -fno-strict-aliasing flags

This commit is contained in:
Bob Polis 2021-11-13 19:14:04 +01:00
parent d607dab17c
commit 6ac0ca9a52
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ HDRS := $(wildcard src/*.hpp)
CXX ?= g++ 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) ifeq ($(DEBUG),1)
CXXFLAGS += -D DEBUG -O0 CXXFLAGS += -D DEBUG -O0
CONFIG := debug CONFIG := debug

View File

@ -14,7 +14,7 @@ CXX ?= g++
RM := /bin/rm -rf RM := /bin/rm -rf
INSTALL := /usr/bin/install -c 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) ifeq ($(DEBUG),1)
CXXFLAGS += -D DEBUG -O0 CXXFLAGS += -D DEBUG -O0
CONFIG := debug CONFIG := debug