bzip2: do not overwrite CC in Makefiles so that BUILD_32BIT works.

This commit is contained in:
Juan RP 2010-05-20 22:40:04 +02:00
parent 127a8e42f7
commit 4afc391e39

View file

@ -26,3 +26,12 @@ long_desc="
base_chroot=yes
subpackages="bzip2-devel"
Add_dependency run glibc
pre_build()
{
# Do not overwrite CC!
for f in Makefile Makefile-libbz2_so; do
sed -i -e "s|\(CC\)\(=gcc\)|\1?\2|g" \
${wrksrc}/${f} || return 1
done
}