gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5598-gcab80bbe


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5598-gcab80bbe
Date: Wed, 22 Jan 2025 09:05:05 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, gawk-5.3-stable has been updated
       via  cab80bbed3a2ec2a6fb37719ae9bd3465fe7551d (commit)
      from  1c41d22bf105677665435cd911e184fa8ffe22f3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=cab80bbed3a2ec2a6fb37719ae9bd3465fe7551d

commit cab80bbed3a2ec2a6fb37719ae9bd3465fe7551d
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Wed Jan 22 16:04:37 2025 +0200

    Modify configure to use -O3 instead of -O2 for GCC.

diff --git a/ChangeLog b/ChangeLog
index 274302a4..775a1f5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2025-01-22         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * configure.ac: Add hack if GCC to use -O3 instead of -O2.
+
 2025-01-20         Arnold D. Robbins     <arnold@skeeve.com>
 
        * TODO: Add item about variable line number and filename
diff --git a/configure b/configure
index dc227fc7..694f0ea9 100755
--- a/configure
+++ b/configure
@@ -15032,10 +15032,17 @@ w
 EOF
                done
        fi
-       for i in . support
+       for i in . support extension
        do
                sed -e '/-O2/s///' -e '/^CFLAGS = /s//&${DEBUG} /' $i/Makefile 
> foo
                mv foo $i/Makefile
        done
+elif test "$GCC" = yes
+then
+       for i in . support extension
+       do
+               sed -e '/-O2/s//-O3/g'  $i/Makefile > foo
+               mv foo $i/Makefile
+       done
 fi
 
diff --git a/configure.ac b/configure.ac
index cb99ffe2..679504de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
 dnl
 dnl configure.ac --- autoconf input file for gawk
 dnl
-dnl Copyright (C) 1995-2024 the Free Software Foundation, Inc.
+dnl Copyright (C) 1995-2025 the Free Software Foundation, Inc.
 dnl
 dnl This file is part of GAWK, the GNU implementation of the
 dnl AWK Programming Language.
@@ -509,9 +509,16 @@ w
 EOF
                done
        fi
-       for i in . support
+       for i in . support extension
        do
                sed -e '/-O2/s///' -e '/^CFLAGS = /s//&${DEBUG} /' $i/Makefile 
> foo
                mv foo $i/Makefile
        done
+elif test "$GCC" = yes
+then
+       for i in . support extension
+       do
+               sed -e '/-O2/s//-O3/g'  $i/Makefile > foo
+               mv foo $i/Makefile
+       done
 fi

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |  4 ++++
 configure    |  9 ++++++++-
 configure.ac | 11 +++++++++--
 3 files changed, 21 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]