Removed -fno-strict-aliasing, -pthread flags

This commit is contained in:
Bob Polis
2021-11-11 10:33:37 +01:00
parent 4883c1c84b
commit 072383a88f
7 changed files with 8 additions and 8 deletions

View File

@ -32,14 +32,14 @@ DOCDIR ?= $(DATADIR)/$(BIN)/doc
RM := /bin/rm -f
INSTALL := /usr/bin/install -c
CXXFLAGS := $(CXXFLAGS) -Wshadow -Wall -Wpedantic -Wextra -g -fno-strict-aliasing -std=c++17 -pthread
CXXFLAGS := $(CXXFLAGS) -Wshadow -Wall -Wpedantic -Wextra -g -std=c++17
ifeq ($(DEBUG),1)
CXXFLAGS += -D DEBUG -O0
else
CXXFLAGS += -D NDEBUG -O3
endif
LDLIBS := -lm -lpthread -lscgui -lSDL2 -lcairo -lscerror -lscstring -lscscreensaver -ldl -lscnumerics
LDLIBS := -lm -lscgui -lSDL2 -lcairo -lscerror -lscstring -lscscreensaver -ldl -lscnumerics
.PHONY: all clean install modules new