open-vm-tools: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 19:07:40 +02:00
parent c32f660643
commit 46b7165221
1 changed files with 5 additions and 3 deletions

View File

@ -24,9 +24,11 @@ checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
build_options="pam x11"
build_options_default="pam x11"
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" --disable-glibc-check" ;; #yeah...
esac
CFLAGS="-fcommon"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
configure_args+=" --disable-glibc-check"
fi
pre_configure() {
autoreconf -vfi