aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commit58b9e416fd826452bbbfc57d0f92a269110230e9 (patch)
treed04a16dfad3e87b65863e53e19e9a5f825ba1f64 /include
parent7d21298bc0d0f555ee0a9f331a6e84fca4febd2c (diff)
downloadupstream-58b9e416fd826452bbbfc57d0f92a269110230e9.tar.gz
upstream-58b9e416fd826452bbbfc57d0f92a269110230e9.tar.bz2
upstream-58b9e416fd826452bbbfc57d0f92a269110230e9.zip
make sure a predefined CFLAGS variable does not get in the way (fix for #4038)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12702 3c298f89-4303-0410-b956-a3cf2f4a3e73
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