src/Makefile: Respect CFLAGS from environment

This commit is contained in:
sporksnail
2023-11-29 17:52:39 +00:00
committed by Geoffrey D. Bennett
parent 32c0062367
commit 1211746b9e

View File

@@ -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