mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
psmisc: override malloc/realloc/memcmp detection in cross builds.
This commit is contained in:
parent
c56dcd60d8
commit
30d11a12c1
1 changed files with 6 additions and 0 deletions
|
@ -11,3 +11,9 @@ homepage="http://psmisc.sourceforge.net/index.html"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
||||||
checksum=e112ccadd4694c98f5ea4a02cd6944fdc5a2a1985f20e2b3f74f4dbca83a2a31
|
checksum=e112ccadd4694c98f5ea4a02cd6944fdc5a2a1985f20e2b3f74f4dbca83a2a31
|
||||||
|
|
||||||
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||||
|
configure_args="ac_cv_func_malloc_0_nonnull=yes
|
||||||
|
ac_cv_func_realloc_0_nonnull=yes
|
||||||
|
ac_cv_func_memcmp_working=yes"
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue