aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/toplevel.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index 06b005568e..9d0eb25933 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -24,6 +24,9 @@ export REVISION
export OPENWRTVERSION
export IS_TTY=$(shell tty -s && echo 1 || echo 0)
+# make sure that a predefined CFLAGS variable does not disturb packages
+export CFLAGS=
+
ifeq ($(FORCE),)
.config scripts/config/conf scripts/config/mconf: tmp/.prereq-build
endif