Removed -fno-strict-aliasing, -pthread flags
This commit is contained in:
parent
4883c1c84b
commit
072383a88f
4
Makefile
4
Makefile
@ -32,14 +32,14 @@ DOCDIR ?= $(DATADIR)/$(BIN)/doc
|
|||||||
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 := $(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
|
||||||
CXXFLAGS += -D NDEBUG -O3
|
CXXFLAGS += -D NDEBUG -O3
|
||||||
endif
|
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
|
.PHONY: all clean install modules new
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ HDRS := $(filter-out $(LIBNAME).hpp,$(wildcard *.hpp))
|
|||||||
|
|
||||||
CXX ?= g++
|
CXX ?= g++
|
||||||
|
|
||||||
CXXFLAGS := $(CXXFLAGS) -Wshadow -Wall -Wpedantic -Wextra -g -fno-strict-aliasing -std=c++17 -fPIC
|
CXXFLAGS := $(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
|
||||||
|
@ -24,7 +24,7 @@ HDRS := $(filter-out $(LIBNAME).hpp,$(wildcard *.hpp))
|
|||||||
|
|
||||||
CXX ?= g++
|
CXX ?= g++
|
||||||
|
|
||||||
CXXFLAGS := $(CXXFLAGS) -Wshadow -Wall -Wpedantic -Wextra -g -fno-strict-aliasing -std=c++17 -fPIC
|
CXXFLAGS := $(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
|
||||||
|
@ -30,7 +30,7 @@ ScreensaverPlugin* create_instance() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int Huey::fps() const {
|
int Huey::fps() const {
|
||||||
return 5;
|
return 50;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Huey::update() {
|
void Huey::update() {
|
||||||
|
@ -24,7 +24,7 @@ HDRS := $(filter-out $(LIBNAME).hpp,$(wildcard *.hpp))
|
|||||||
|
|
||||||
CXX ?= g++
|
CXX ?= g++
|
||||||
|
|
||||||
CXXFLAGS := $(CXXFLAGS) -Wshadow -Wall -Wpedantic -Wextra -g -fno-strict-aliasing -std=c++17 -fPIC
|
CXXFLAGS := $(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
|
||||||
|
@ -24,7 +24,7 @@ HDRS := $(filter-out $(LIBNAME).hpp,$(wildcard *.hpp))
|
|||||||
|
|
||||||
CXX ?= g++
|
CXX ?= g++
|
||||||
|
|
||||||
CXXFLAGS := $(CXXFLAGS) -Wshadow -Wall -Wpedantic -Wextra -g -fno-strict-aliasing -std=c++17 -fPIC
|
CXXFLAGS := $(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
|
||||||
|
@ -24,7 +24,7 @@ HDRS := $(filter-out $(LIBNAME).hpp,$(wildcard *.hpp))
|
|||||||
|
|
||||||
CXX ?= g++
|
CXX ?= g++
|
||||||
|
|
||||||
CXXFLAGS := $(CXXFLAGS) -Wshadow -Wall -Wpedantic -Wextra -g -fno-strict-aliasing -std=c++17 -fPIC
|
CXXFLAGS := $(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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user