diff --git a/Makefile b/Makefile index 8ddc8ae4c9..58c44eede2 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,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