From 072383a88fb37e2186eb931c8e17b8a123d5ed0c Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Thu, 11 Nov 2021 10:33:37 +0100 Subject: [PATCH] Removed -fno-strict-aliasing, -pthread flags --- Makefile | 4 ++-- modules/Default/Makefile | 2 +- modules/FadingRects/Makefile | 2 +- modules/Huey/Huey.cpp | 2 +- modules/Huey/Makefile | 2 +- modules/Whirling/Makefile | 2 +- skeleton/Makefile | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 6a19c64..08d7555 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/modules/Default/Makefile b/modules/Default/Makefile index 1fc6883..c19dcb1 100644 --- a/modules/Default/Makefile +++ b/modules/Default/Makefile @@ -24,7 +24,7 @@ HDRS := $(filter-out $(LIBNAME).hpp,$(wildcard *.hpp)) 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) CXXFLAGS += -D DEBUG -O0 else diff --git a/modules/FadingRects/Makefile b/modules/FadingRects/Makefile index 7badd81..9e489a2 100644 --- a/modules/FadingRects/Makefile +++ b/modules/FadingRects/Makefile @@ -24,7 +24,7 @@ HDRS := $(filter-out $(LIBNAME).hpp,$(wildcard *.hpp)) 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) CXXFLAGS += -D DEBUG -O0 else diff --git a/modules/Huey/Huey.cpp b/modules/Huey/Huey.cpp index cc2a23d..6ffdfd9 100644 --- a/modules/Huey/Huey.cpp +++ b/modules/Huey/Huey.cpp @@ -30,7 +30,7 @@ ScreensaverPlugin* create_instance() { } int Huey::fps() const { - return 5; + return 50; } void Huey::update() { diff --git a/modules/Huey/Makefile b/modules/Huey/Makefile index 1fc6883..c19dcb1 100644 --- a/modules/Huey/Makefile +++ b/modules/Huey/Makefile @@ -24,7 +24,7 @@ HDRS := $(filter-out $(LIBNAME).hpp,$(wildcard *.hpp)) 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) CXXFLAGS += -D DEBUG -O0 else diff --git a/modules/Whirling/Makefile b/modules/Whirling/Makefile index ddc81b3..12464f0 100644 --- a/modules/Whirling/Makefile +++ b/modules/Whirling/Makefile @@ -24,7 +24,7 @@ HDRS := $(filter-out $(LIBNAME).hpp,$(wildcard *.hpp)) 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) CXXFLAGS += -D DEBUG -O0 else diff --git a/skeleton/Makefile b/skeleton/Makefile index 1fc6883..c19dcb1 100644 --- a/skeleton/Makefile +++ b/skeleton/Makefile @@ -24,7 +24,7 @@ HDRS := $(filter-out $(LIBNAME).hpp,$(wildcard *.hpp)) 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) CXXFLAGS += -D DEBUG -O0 else