From: Felix Fietkau 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-Tag: reboot~25523 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d0302d323b81940154e16372b753a7f442e26ce6;p=openwrt%2Fstaging%2Fjogo.git make sure a predefined CFLAGS variable does not get in the way (fix for #4038) SVN-Revision: 12702 --- 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