Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist Correct extra parens, regen configure...
details: https://anonhg.NetBSD.org/src/rev/139df33a6b57
branches: trunk
changeset: 993298:139df33a6b57
user: maya <maya%NetBSD.org@localhost>
date: Mon Sep 03 22:41:00 2018 +0000
description:
Correct extra parens, regen configure (selectively)
Fixes root cause of PR toolchain/53567
diffstat:
external/gpl3/gcc/dist/config/tls.m4 | 2 +-
external/gpl3/gcc/dist/libgcc/configure | 5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r b1c7cdcc7d76 -r 139df33a6b57 external/gpl3/gcc/dist/config/tls.m4
--- a/external/gpl3/gcc/dist/config/tls.m4 Mon Sep 03 21:54:57 2018 +0000
+++ b/external/gpl3/gcc/dist/config/tls.m4 Mon Sep 03 22:41:00 2018 +0000
@@ -104,7 +104,7 @@
gcc_cv_have_cc_tls, [
AC_COMPILE_IFELSE([__thread int a; int b; int main() { return a = b; }],
[gcc_cv_have_cc_tls=yes], [gcc_cv_have_cc_tls=no])]
- )])
+ )
if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
AC_DEFINE(HAVE_CC_TLS, 1,
[Define to 1 if the target assembler supports thread-local storage.])
diff -r b1c7cdcc7d76 -r 139df33a6b57 external/gpl3/gcc/dist/libgcc/configure
--- a/external/gpl3/gcc/dist/libgcc/configure Mon Sep 03 21:54:57 2018 +0000
+++ b/external/gpl3/gcc/dist/libgcc/configure Mon Sep 03 22:41:00 2018 +0000
@@ -4957,6 +4957,11 @@
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
$as_echo "$gcc_cv_have_cc_tls" >&6; }
+ if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
+
+$as_echo "#define HAVE_CC_TLS 1" >>confdefs.h
+
+ fi
set_have_cc_tls=
if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
set_have_cc_tls="-DHAVE_CC_TLS"
Home |
Main Index |
Thread Index |
Old Index