mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
12 lines
882 B
Plaintext
12 lines
882 B
Plaintext
--- 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
|