ref: 8df3dcd8c15dbbdc883de268e7d77ee067262ebd
parent: e25c83d6b578525b7689bda2101cb1b59d2dfdc7
author: Tor Andersson <[email protected]>
date: Wed Jan 24 08:46:36 EST 2018
Add XCFLAGS to the CFLAGS in the Makefile. Supports adding custom compiler flags without editing the Makefile.
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,8 @@
LDFLAGS += -Wl,-s
endif
+CFLAGS += $(XCFLAGS)
+
# You shouldn't need to edit anything below here.
OUT := build/$(build)