diff options
author | Sam James <sam@gentoo.org> | 2024-11-22 19:09:36 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-11-22 23:42:32 +0000 |
commit | 7ff5900399c889ce1984092552040dfb7e73a4b2 (patch) | |
tree | 057813f7024d930025d08fe7f0e115fc58cc627f | |
parent | b3f1b9e2aa079f8ec73e3cb48143a16645c49566 (diff) | |
download | gcc-7ff5900399c889ce1984092552040dfb7e73a4b2.zip gcc-7ff5900399c889ce1984092552040dfb7e73a4b2.tar.gz gcc-7ff5900399c889ce1984092552040dfb7e73a4b2.tar.bz2 |
Sync top-level configure with binutils
This syncs us with binutils/gdb's toplevel configure as of
987db70acefd0b223a8df2240d4e5ca544cc0a91.
There's not much notable here, just gprofng (which is in binutils) being
disabled for musl and a new target which got added on that side too.
The only part which may look interesting is the baseargs->bbaseargs
change which goes back to Arsen's gettext work and a fixup which
landed for that on the binutils side in
9c0aa4c53104b1c4333d55aeaf11b41053307929.
* configure: Regenerate.
* configure.ac: Sync with Binutils.
-rwxr-xr-x | configure | 21 | ||||
-rw-r--r-- | configure.ac | 22 |
2 files changed, 36 insertions, 7 deletions
@@ -1551,7 +1551,7 @@ Optional Features: --enable-gold[=ARG] build gold [ARG={default,yes,no}] --enable-ld[=ARG] build ld [ARG={default,yes,no}] - --enable-gprofng[=ARG] build gprofng [ARG={yes,no}] + --disable-gprofng do not build gprofng --enable-compressed-debug-sections={all,gas,gold,ld,none} Enable compressed debug sections for gas, gold or ld by default @@ -3151,7 +3151,9 @@ fi if test "$enable_gprofng" = "yes"; then case "${target}" in - x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux*) + *-musl*) + ;; + x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*) configdirs="$configdirs gprofng" ;; esac @@ -3670,6 +3672,15 @@ case "${target}" in cris-*-* | crisv32-*-*) libgloss_dir=cris ;; + kvx-*-elf) + libgloss_dir=kvx-elf + ;; + kvx-*-mbr) + libgloss_dir=kvx-mbr + ;; + kvx-*-cos) + libgloss_dir=kvx-cos + ;; hppa*-*-*) libgloss_dir=pa ;; @@ -3971,6 +3982,9 @@ case "${target}" in i[3456789]86-*-rdos*) noconfigdirs="$noconfigdirs gdb" ;; + kvx-*-*) + noconfigdirs="$noconfigdirs gdb gdbserver sim" + ;; mmix-*-*) noconfigdirs="$noconfigdirs gdb" ;; @@ -11314,7 +11328,8 @@ hbaseargs="$hbaseargs --disable-option-checking" tbaseargs="$tbaseargs --disable-option-checking" if test "$enable_year2038" = no; then - baseargs="$baseargs --disable-year2038" + bbaseargs="$bbaseargs --disable-year2038" + hbaseargs="$hbaseargs --disable-year2038" tbaseargs="$tbaseargs --disable-year2038" fi diff --git a/configure.ac b/configure.ac index fb61550..a8d13b3 100644 --- a/configure.ac +++ b/configure.ac @@ -407,13 +407,14 @@ case "${ENABLE_LD}" in esac AC_ARG_ENABLE(gprofng, -[AS_HELP_STRING([[--enable-gprofng[=ARG]]], - [build gprofng @<:@ARG={yes,no}@:>@])], +[AS_HELP_STRING([[--disable-gprofng]], [do not build gprofng])], enable_gprofng=$enableval, enable_gprofng=yes) if test "$enable_gprofng" = "yes"; then case "${target}" in - x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux*) + *-musl*) + ;; + x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*) configdirs="$configdirs gprofng" ;; esac @@ -892,6 +893,15 @@ case "${target}" in cris-*-* | crisv32-*-*) libgloss_dir=cris ;; + kvx-*-elf) + libgloss_dir=kvx-elf + ;; + kvx-*-mbr) + libgloss_dir=kvx-mbr + ;; + kvx-*-cos) + libgloss_dir=kvx-cos + ;; hppa*-*-*) libgloss_dir=pa ;; @@ -1193,6 +1203,9 @@ case "${target}" in i[[3456789]]86-*-rdos*) noconfigdirs="$noconfigdirs gdb" ;; + kvx-*-*) + noconfigdirs="$noconfigdirs gdb gdbserver sim" + ;; mmix-*-*) noconfigdirs="$noconfigdirs gdb" ;; @@ -3543,7 +3556,8 @@ hbaseargs="$hbaseargs --disable-option-checking" tbaseargs="$tbaseargs --disable-option-checking" if test "$enable_year2038" = no; then - baseargs="$baseargs --disable-year2038" + bbaseargs="$bbaseargs --disable-year2038" + hbaseargs="$hbaseargs --disable-year2038" tbaseargs="$tbaseargs --disable-year2038" fi |