mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 03:47:02 -05:00
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.
This commit is contained in:
21
configure
vendored
21
configure
vendored
@@ -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
|
||||
|
||||
|
||||
22
configure.ac
22
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user