diff options
author | Sam James <sam@gentoo.org> | 2024-07-20 01:21:59 +0100 |
---|---|---|
committer | Arsen Arsenović <arsen@gcc.gnu.org> | 2024-07-21 14:12:34 +0200 |
commit | 80c37335bafd323668f2be059da08fd932dbb7eb (patch) | |
tree | 1e684255acd11d3f3e6c4b8b084e4945a618aecc /gcc/configure.ac | |
parent | 58b78cf068b3b24c11d7812a5f4de865e9cdb8b4 (diff) | |
download | gcc-80c37335bafd323668f2be059da08fd932dbb7eb.zip gcc-80c37335bafd323668f2be059da08fd932dbb7eb.tar.gz gcc-80c37335bafd323668f2be059da08fd932dbb7eb.tar.bz2 |
gcc: stop adding -fno-common for checking builds
Originally added in r0-44646-g204250d2fcd084 and r0-44627-gfd350d241fecf6 whic
moved -fno-common from all builds to just checking builds.
Since r10-4867-g6271dd984d7f92, GCC defaults to -fno-common. There's no need
to pass it specially for checking builds.
We could keep it for older bootstrap compilers with checking but I don't see
much value in that, it was already just a bonus before.
gcc/ChangeLog:
* Makefile.in (NOCOMMON_FLAG): Delete.
(GCC_WARN_CFLAGS): Drop NOCOMMON_FLAG.
(GCC_WARN_CXXFLAGS): Drop NOCOMMON_FLAG.
* configure.ac: Ditto.
* configure: Regenerate.
gcc/d/ChangeLog:
* Make-lang.in (WARN_DFLAGS): Drop NOCOMMON_FLAG.
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 3da1eaa..3f20c10 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -697,16 +697,13 @@ do done IFS="$ac_save_IFS" -nocommon_flag="" if test x$ac_checking != x ; then AC_DEFINE(CHECKING_P, 1, [Define to 0/1 if you want more run-time sanity checks. This one gets a grab bag of miscellaneous but relatively cheap checks.]) - nocommon_flag=-fno-common else AC_DEFINE(CHECKING_P, 0) fi -AC_SUBST(nocommon_flag) if test x$ac_extra_checking != x ; then AC_DEFINE(ENABLE_EXTRA_CHECKING, 1, [Define to 0/1 if you want extra run-time checking that might affect code |