gmp: fix gmp.h to not include -m32 in multilib builds.
This commit is contained in:
parent
9408af3761
commit
f70a0e85b9
1 changed files with 8 additions and 0 deletions
|
@ -34,3 +34,11 @@ Add_dependency build m4
|
||||||
Add_dependency run libgcc
|
Add_dependency run libgcc
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
Add_dependency run libstdc++
|
Add_dependency run libstdc++
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
# Required for multilib build.
|
||||||
|
if grep -q "\-m32" ${DESTDIR}/usr/include/gmp.h; then
|
||||||
|
sed -i "s|\-m32 ||g" ${DESTDIR}/usr/include/gmp.h
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue