aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-07-07 23:03:56 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-07-07 23:03:56 +0300
commit780fcde412ca27ac7765590d3cca7f1e8b8e98b3 (patch)
tree410456d28c99d32766ab8d09562d8d0fa0d389f3 /Makefile
parentb1d2d2a6391ca48ac477b585d69905431176ba17 (diff)
downloadrevela-cb8ca416d2e90322579359977bb233aad196970a.tar.gz
revela-cb8ca416d2e90322579359977bb233aad196970a.zip
fix build for AURHEADv0.1.5master
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--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 96ce393..8d34310 100644
--- a/Makefile
+++ b/Makefile
@@ -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)