gmp: fix gmp.h to not include -m32 in multilib builds.
This commit is contained in:
parent
9408af3761
commit
f70a0e85b9
|
@ -34,3 +34,11 @@ Add_dependency build m4
|
|||
Add_dependency run libgcc
|
||||
Add_dependency run glibc
|
||||
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 New Issue