diff --git a/Makefile b/Makefile index 6b52e0ae1c..e432055384 100644 --- a/Makefile +++ b/Makefile @@ -74,6 +74,10 @@ ifneq ($(wildcard makeopts),) include makeopts endif +# Some build systems, such as the one in openwrt, like to pass custom target +# CFLAGS in the COPTS variable. +ASTCFLAGS+=$(COPTS) + #Uncomment this to see all build commands instead of 'quiet' output #NOISY_BUILD=yes