bash: remove CC variable when calling make
authorLionel Landwerlin <llandwerlin@gmail.com>
Sat, 26 Dec 2009 14:03:28 +0000 (15:03 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 28 Jan 2010 15:34:59 +0000 (16:34 +0100)
commit21ebd57287b4f17d3504f75b39c15bc959c7dd2f
tree4cdaa38071abe8bb34d88223a97f3fa531cf0569
parent62a4149250f42539e8300b9391ce1e0e8bf114ee
bash: remove CC variable when calling make

So "/opt/whatever_toolchain/gcc --sysroot $(STAGING_DIR)" isn't
stripped to "/opt/whatever_toolchain/gcc", making gcc to look at
$(ORIGINAL_TOOLCHAIN_DIRECTORY)/usr/include instead of
$(STAGING_DIR)/usr/include. For more CC is already filled when
running the configure script.

This problem should only be visible with an external toolchain.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/bash/bash.mk