Removed -pthread and -fno-strict-aliasing flags
This commit is contained in:
parent
583b5bb2b9
commit
9e5b5fe36c
2
Makefile
2
Makefile
@ -27,7 +27,7 @@ DEPS := $(subst .cpp,.d,$(SRCS))
|
|||||||
|
|
||||||
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
|
||||||
else
|
else
|
||||||
|
@ -15,7 +15,7 @@ MANDIR ?= $(DATADIR)/man
|
|||||||
RM := /bin/rm -f
|
RM := /bin/rm -f
|
||||||
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
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user