src/Makefile: Respect CFLAGS from environment
This commit is contained in:
committed by
Geoffrey D. Bennett
parent
32c0062367
commit
1211746b9e
@@ -12,7 +12,7 @@ VERSION := $(shell \
|
|||||||
DEPDIR := .deps
|
DEPDIR := .deps
|
||||||
DEPFLAGS = -MT $@ -MMD -MP -MF $(DEPDIR)/$*.d
|
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 += -DVERSION=\"$(VERSION)\"
|
||||||
CFLAGS += -Wno-error=deprecated-declarations
|
CFLAGS += -Wno-error=deprecated-declarations
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user