gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, feature/minrx, updated. gawk-4.1.0-5902-gd9b2d6ee


From: Arnold Robbins
Subject: [SCM] gawk branch, feature/minrx, updated. gawk-4.1.0-5902-gd9b2d6ee
Date: Wed, 22 Jan 2025 06:15:23 -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, feature/minrx has been updated
       via  d9b2d6eef1a2a1865453cfbd671741cfb420d44f (commit)
      from  3050a30b9e298bbf9590162210b1ab38e073a5d0 (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=d9b2d6eef1a2a1865453cfbd671741cfb420d44f

commit d9b2d6eef1a2a1865453cfbd671741cfb420d44f
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Wed Jan 22 13:14:48 2025 +0200

    Cause minrx.cpp to be compiled with -O3. Makes a big difference!

diff --git a/ChangeLog b/ChangeLog
index ff6153ef..2c703d60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-01-22         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * configure.ac: Set CXXFLAGS correctly for MinRX: Use -O3
+       and -std=c++20.
+
 2025-01-07         Arnold D. Robbins     <arnold@skeeve.com>
 
        Thanks to Cristian Ioneci <mekanofox@astropostale.com> for the
diff --git a/configure b/configure
index 3dcee72a..4a45e25a 100755
--- a/configure
+++ b/configure
@@ -7883,7 +7883,7 @@ fi
 
 if test -f $srcdir/support/minrx.h && test -f $srcdir/support/minrx.cpp
 then
-       CXXFLAGS='-std=c++17'
+       CXXFLAGS='-O3 -std=c++20'
 fi
 
 
diff --git a/configure.ac b/configure.ac
index 2754c87d..7e6620eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -154,7 +154,7 @@ AC_SUBST(CFLAGS)
 
 if test -f $srcdir/support/minrx.h && test -f $srcdir/support/minrx.cpp
 then
-       CXXFLAGS='-std=c++17'
+       CXXFLAGS='-O3 -std=c++20'
 fi
 
 AC_SUBST(CXXFLAGS)
diff --git a/support/ChangeLog b/support/ChangeLog
index fc64de60..74eae253 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,8 @@
+2025-01-22         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * Makefile.am (CXXFLAGS): Get the value from Autoconf.
+       Compiles minrx.cpp with -O3, which it really needs.
+
 2025-01-21         Arnold D. Robbins     <arnold@skeeve.com>
 
        * minrx.cpp: Update again.
diff --git a/support/Makefile.am b/support/Makefile.am
index 431391c6..8814bdf7 100644
--- a/support/Makefile.am
+++ b/support/Makefile.am
@@ -87,7 +87,7 @@ CFLAGS += -DNDEBUG
 AM_CFLAGS += -DNDEBUG
 endif
 
-CXXFLAGS = -std=c++20
+CXXFLAGS = @CXXFLAGS@
 
 # For some make's, e.g. OpenBSD, that don't define this
 RM = rm -f
diff --git a/support/Makefile.in b/support/Makefile.in
index 66dc8870..ef5a1b69 100644
--- a/support/Makefile.in
+++ b/support/Makefile.in
@@ -260,7 +260,7 @@ CSCOPE = @CSCOPE@
 CTAGS = @CTAGS@
 CXX = @CXX@
 CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = -std=c++20
+CXXFLAGS = @CXXFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DEFS = -DGAWK -DHAVE_CONFIG_H -I"$(srcdir)/.."
 DEPDIR = @DEPDIR@

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

Summary of changes:
 ChangeLog           | 5 +++++
 configure           | 2 +-
 configure.ac        | 2 +-
 support/ChangeLog   | 5 +++++
 support/Makefile.am | 2 +-
 support/Makefile.in | 2 +-
 6 files changed, 14 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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