From 8df3dcd8c15dbbdc883de268e7d77ee067262ebd Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 24 Jan 2018 13:46:36 +0100 Subject: [PATCH] Add XCFLAGS to the CFLAGS in the Makefile. Supports adding custom compiler flags without editing the Makefile. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 0eef1f2..2193c96 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,8 @@ CFLAGS += -Os LDFLAGS += -Wl,-s endif +CFLAGS += $(XCFLAGS) + # You shouldn't need to edit anything below here. OUT := build/$(build)