--- Makefile.orig 2022-01-25 17:57:16 UTC +++ Makefile @@ -1,7 +1,7 @@ # minimal CFLAGS definition (try if compilation fails with default CFLAGS) #CFLAGS := $(shell if command -v imlib2-config >/dev/null; then imlib2-config --cflags; else pkg-config --cflags imlib2; fi) # default CFLAGS definition -CFLAGS := -D_FORTIFY_SOURCE=2 -Wall -W -Wextra -pedantic -fstack-protector-all $(shell if command -v imlib2-config >/dev/null; then imlib2-config --cflags; else pkg-config --cflags imlib2; fi) -O3 +CFLAGS := $(CFLAGS) -D_FORTIFY_SOURCE=2 -Wall -W -Wextra -pedantic -fstack-protector-all $(shell if command -v imlib2-config >/dev/null; then imlib2-config --cflags; else pkg-config --cflags imlib2; fi) LDLIBS := -lm $(shell if command -v imlib2-config >/dev/null; then imlib2-config --libs; else pkg-config --libs imlib2; fi) PREFIX := /usr/local BINDIR := $(PREFIX)/bin