From: nbd Date: Thu, 25 Sep 2008 14:10:04 +0000 (+0000) Subject: make sure a predefined CFLAGS variable does not get in the way (fix for #4038) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=d20c210d75d4423fc8de2dc99bc3bb1de9a3b77e;p=10.03%2Fopenwrt.git 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 --- diff --git a/include/toplevel.mk b/include/toplevel.mk index 06b005568..9d0eb2593 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