diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2024-07-07 23:03:56 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2024-07-07 23:03:56 +0300 |
commit | 780fcde412ca27ac7765590d3cca7f1e8b8e98b3 (patch) | |
tree | 410456d28c99d32766ab8d09562d8d0fa0d389f3 /Makefile | |
parent | b1d2d2a6391ca48ac477b585d69905431176ba17 (diff) | |
download | revela-780fcde412ca27ac7765590d3cca7f1e8b8e98b3.tar.gz revela-780fcde412ca27ac7765590d3cca7f1e8b8e98b3.zip |
Don't let makepkg, or any other script for that matter, override the
default CFLAGS, thereby breaking the build because of missing defines.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ CC?=gcc XFLAGS=-D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -CFLAGS?=-std=c11 -O2 -flto -Wall $(XFLAGS) +CFLAGS+=-std=c11 -O2 -flto -Wall $(XFLAGS) LIBS:=-lexif LIBS+=$(shell pkg-config --cflags --libs GraphicsMagickWand) |