https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116930

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
Note that the way we inject our versioning is maybe a bit janky and old, it
predates me:
```

                # Needed for gcc --version to include the upstream commit used
                # rather than only the commit after we apply our patches.
                # It includes both with this.
                echo "${EGIT_VERSION}" > "${S}"/gcc/REVISION || die
[...]
        if tc_is_live ; then
                BRANDING_GCC_PKGVERSION="${BRANDING_GCC_PKGVERSION}, commit
${EGIT_VERSION}"
        fi
[...]
        # Branding
        confgcc+=(
                --with-bugurl=https://bugs.gentoo.org/
                --with-pkgversion="${BRANDING_GCC_PKGVERSION}"
        )
```

Reply via email to