xorg-server: fix cross build w/ gcc10
This commit is contained in:
parent
bcce3fc7cb
commit
18ce5dd29d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue