bzip2: do not overwrite CC in Makefiles so that BUILD_32BIT works.
This commit is contained in:
parent
127a8e42f7
commit
4afc391e39
1 changed files with 9 additions and 0 deletions
|
@ -26,3 +26,12 @@ long_desc="
|
||||||
base_chroot=yes
|
base_chroot=yes
|
||||||
subpackages="bzip2-devel"
|
subpackages="bzip2-devel"
|
||||||
Add_dependency run glibc
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue