xorg-server: fix cross build w/ gcc10

This commit is contained in:
Jürgen Buchmüller 2020-09-20 01:53:04 +02:00
parent bcce3fc7cb
commit 18ce5dd29d
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ case "$XBPS_TARGET_MACHINE" in
makedepends+=" libtirpc-devel" ;;
esac
# gcc10 needs to be hinted when symbols have multiple definitions
CFLAGS="-fcommon"
# Symbols must be resolved lazily for modules to work.
# See https://bugs.freedesktop.org/show_bug.cgi?id=41208#c5