src/Makefile: Respect CFLAGS from environment

This commit is contained in:
sporksnail
2023-11-30 12:44:03 +10:30
committed by Geoffrey D. Bennett
parent 32c0062367
commit 1211746b9e
+1 -1
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