[PATCH] c++tools: Fix up c++tools for --with-gcc-major-version-only
Nathan Sidwell
nathan@acm.org
Thu Dec 17 13:19:49 GMT 2020
On 12/16/20 6:10 PM, Jakub Jelinek wrote:
> Hi!
>
> Seems c++tools doesn't honor --with-gcc-major-version-only.
> Our distro uses that flag and so everything is installed in
> /usr/lib/gcc/<target>/11/...
> /usr/libexec/gcc/<target>/11/...
> except
> /usr/libexec/gcc/<target>/11.0.0/g++-mapper-server
>
> The following patch should fix that, ok for trunk if it passes testing?
>
> 2020-12-17 Jakub Jelinek <jakub@redhat.com>
>
> * configure.ac: Add GCC_BASE_VER.
> * Makefile.in (version): Remove variable.
> (gcc_version): New variable.
> (libexecsubdir): Use $(gcc_version) instead of $(version).
> * configure: Regenerated.
Of course, didn't know about that option, thanks
nathan
--
Nathan Sidwell
More information about the Gcc-patches
mailing list