From 1211746b9e11c57c7a265f0aa910de64b7ae2c6d Mon Sep 17 00:00:00 2001 From: sporksnail <65871831+sporksnail@users.noreply.github.com> Date: Wed, 29 Nov 2023 17:52:39 +0000 Subject: [PATCH] src/Makefile: Respect CFLAGS from environment --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 4a5a945..2c9d51b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -12,7 +12,7 @@ VERSION := $(shell \ DEPDIR := .deps DEPFLAGS = -MT $@ -MMD -MP -MF $(DEPDIR)/$*.d -CFLAGS := -Wall -Werror -ggdb -fno-omit-frame-pointer -O2 -D_FORTIFY_SOURCE=2 +CFLAGS += -Wall -Werror -ggdb -fno-omit-frame-pointer -O2 -D_FORTIFY_SOURCE=2 CFLAGS += -DVERSION=\"$(VERSION)\" CFLAGS += -Wno-error=deprecated-declarations