diff --git a/makefile b/makefile index e0366af..dd57147 100644 --- a/makefile +++ b/makefile @@ -28,6 +28,11 @@ FLAGS += -flto #FLAGS += -Wno-sign-conversion #FLAGS += -Wformat-truncation=0 +ifneq (, $(EXTRA_FLAGS)) + FLAGS += $(EXTRA_FLAGS) +endif + + # Compile flag for defining GITHASH to put at the end of the version string GITFLAG = -D'GITHASH=$(shell git rev-parse --short=1 HEAD)'