xorg-server: fix cross build w/ gcc10
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user