gc: set -DHAVE_DL_ITERATE_PHDR on musl, fixes guild build.
This commit is contained in:
parent
3d737497ad
commit
3df71f2b7b
1 changed files with 3 additions and 2 deletions
|
@ -1,13 +1,14 @@
|
|||
# Template file for 'gc'
|
||||
pkgname=gc
|
||||
version=7.4.2
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake pkg-config libtool"
|
||||
makedepends="libatomic_ops-devel"
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
CFLAGS='-D_GNU_SOURCE -DNO_GETCONTEXT -DUSE_MMAP'
|
||||
CFLAGS='-D_GNU_SOURCE -DNO_GETCONTEXT -DSEARCH_FOR_DATA_START
|
||||
-DUSE_MMAP -DHAVE_DL_ITERATE_PHDR'
|
||||
esac
|
||||
short_desc="A garbage collector for C and C++"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
|
Loading…
Reference in a new issue