summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6b52e0ae1..e43205538 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