Re: git: 9341f0aca4ec - main - graphics/libglvnd: reduce dependency on gcc for everyone on powerpc64* by using binutils
Date: Sun, 20 Feb 2022 12:10:36 UTC
Piotr Kubaj <pkubaj@FreeBSD.org> writes:
> -USES= localbase meson pkgconfig
> +BUILD_DEPENDS= as:devel/binutils
> +
> +USES= compiler:c++11-lib localbase meson pkgconfig
> USE_LDCONFIG= yes
>
> USE_GITLAB= yes
> @@ -27,9 +30,8 @@ X11_MESON_ENABLED= x11 glx
> .include <bsd.port.options.mk>
>
> .if ${ARCH:Mpowerpc64*}
> -USES+= compiler:gcc-c++11-lib
> -.else
> -USES+= compiler:c++11-lib
> +CFLAGS+= -no-integrated-as
> +CXXFLAGS+= -no-integrated-as
> .endif
If -no-integrated-as is limited to powerpc64 then devel/binutils should be as well.