summaryrefslogtreecommitdiff
path: root/include/toplevel.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-09-25 14:10:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-09-25 14:10:04 +0000
commitd0302d323b81940154e16372b753a7f442e26ce6 (patch)
tree3c42db698b06e7aef4a7958dd85b9ee5a583bb98 /include/toplevel.mk
parent3616f2d48c11334eaf26a1ee05b8ae1c976bb02c (diff)
downloadmtk-20170518-d0302d323b81940154e16372b753a7f442e26ce6.zip
mtk-20170518-d0302d323b81940154e16372b753a7f442e26ce6.tar.gz
mtk-20170518-d0302d323b81940154e16372b753a7f442e26ce6.tar.bz2
make sure a predefined CFLAGS variable does not get in the way (fix for #4038)
SVN-Revision: 12702
Diffstat (limited to 'include/toplevel.mk')
-rw-r--r--include/toplevel.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index 06b0055..9d0eb25 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