mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
libX11: fix PIE build.
This commit is contained in:
parent
b92bd8dcd8
commit
4b58d97be9
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'libX11'.
|
# Template build file for 'libX11'.
|
||||||
pkgname=libX11
|
pkgname=libX11
|
||||||
version=1.6.3
|
version=1.6.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-ipv6 --enable-xlocaledir --without-xmlto
|
configure_args="--enable-ipv6 --enable-xlocaledir --without-xmlto
|
||||||
--disable-secure-rpc --disable-static --enable-malloc0returnsnull"
|
--disable-secure-rpc --disable-static --enable-malloc0returnsnull"
|
||||||
|
@ -22,6 +22,10 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
CFLAGS_FOR_BUILD="-fPIC" ./configure ${configure_args}
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue