Browse Source

make sure a predefined CFLAGS variable does not get in the way (fix for #4038)

SVN-Revision: 12702
Felix Fietkau 17 years ago
parent
commit
d0302d323b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      include/toplevel.mk

+ 3 - 0
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