mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
xorg-server: set -Wl,-z,lazy again.
This commit is contained in:
parent
856990ab07
commit
351509a69c
1 changed files with 5 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'xorg-server'.
|
# Template build file for 'xorg-server'.
|
||||||
pkgname=xorg-server
|
pkgname=xorg-server
|
||||||
version=1.18.0
|
version=1.18.0
|
||||||
revision=5
|
revision=6
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-ipv6 --enable-record --enable-xorg
|
configure_args="--enable-ipv6 --enable-record --enable-xorg
|
||||||
--enable-xnest --enable-xephyr --enable-composite --enable-xvfb
|
--enable-xnest --enable-xephyr --enable-composite --enable-xvfb
|
||||||
|
@ -55,6 +55,10 @@ esac
|
||||||
|
|
||||||
conf_files="/etc/X11/Xwrapper.config"
|
conf_files="/etc/X11/Xwrapper.config"
|
||||||
|
|
||||||
|
# Symbols must be resolved lazily for modules to work.
|
||||||
|
# See https://bugs.freedesktop.org/show_bug.cgi?id=41208#c5
|
||||||
|
LDFLAGS="-Wl,z,lazy"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl)
|
*-musl)
|
||||||
|
@ -62,9 +66,6 @@ pre_configure() {
|
||||||
sed -i -e 's/termio.h/termios.h/' hw/xfree86/os-support/xf86_OSlib.h
|
sed -i -e 's/termio.h/termios.h/' hw/xfree86/os-support/xf86_OSlib.h
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
# Symbols must be resolved lazily for modules to work.
|
|
||||||
# See https://bugs.freedesktop.org/show_bug.cgi?id=41208#c5
|
|
||||||
export LDFLAGS="${LDFLAGS//-Wl,-z,now/}"
|
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
|
Loading…
Add table
Reference in a new issue