From 780fcde412ca27ac7765590d3cca7f1e8b8e98b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Sun, 7 Jul 2024 23:03:56 +0300 Subject: fix build for AUR Don't let makepkg, or any other script for that matter, override the default CFLAGS, thereby breaking the build because of missing defines. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3