]> git.dujemihanovic.xyz Git - u-boot.git/commit
autoconf.mk.dep: use target cflags, not host
authorMike Frysinger <vapier@gentoo.org>
Wed, 12 Oct 2011 19:48:00 +0000 (19:48 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 21 Oct 2011 23:20:09 +0000 (01:20 +0200)
commit4c34b2a090b8418fd6b2e91b5e9dd8d36206384f
tree424326d6e57772b9bf99d06367a0464dc874969e
parent5968adc4146aac76e5597da3b52a51efb42d9179
autoconf.mk.dep: use target cflags, not host

The current autoconf.mk.dep rule uses the host cflags when executing the
target compiler (which includes target header files).  We don't want to
mix the target compiler and host compiler flags, so change it to CFLAGS.
Otherwise we get things like -pedantic which the U-Boot source code does
not build with.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Makefile