Removed -pthread and -fno-strict-aliasing flags

This commit is contained in:
Bob Polis 2021-11-13 19:14:13 +01:00
parent 89c5742a0c
commit 10f1f6fee9
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,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 CXXFLAGS += -Wshadow -Wall -Wpedantic -Wextra -g -std=c++17
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