diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template index 7c688dc690d..ffecab65967 100644 --- a/srcpkgs/open-vm-tools/template +++ b/srcpkgs/open-vm-tools/template @@ -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