]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rlm_python3: Strip out -frecord-gcc-switches #3693 (#3699)
authorJorge Pereira <jpereira@users.noreply.github.com>
Wed, 21 Oct 2020 23:53:02 +0000 (20:53 -0300)
committerGitHub <noreply@github.com>
Wed, 21 Oct 2020 23:53:02 +0000 (18:53 -0500)
We decide if enable that yes or no.

doc/ChangeLog
src/modules/rlm_python3/configure
src/modules/rlm_python3/configure.ac

index 1f9451e9d75c136885172f85b6130f407b56aafa..e9531311d1b9f2017b44ff260c094b6f4e849ca1 100644 (file)
@@ -68,6 +68,7 @@ FreeRADIUS 3.0.22 Tue 24 Mar 2020 12:00:00 EDT urgency=low
        * Use better API when decoding DHCP packets, to avoid unnecessary work.
          This improves performance noticably.
        * Parse locale-dependent dates.  Fixes #3602.
+       * Strip out "-frecord-gcc-switches" from rlm_python3 configure build. Fixes #3693
 
 FreeRADIUS 3.0.21 Tue 24 Mar 2020 12:00:00 EDT urgency=low
        Feature improvements
index 363cdb31c26f18e19965833b1dfd5613dadbdec1..09258d604d9437b351f447d753936910af71641a 100755 (executable)
@@ -3174,6 +3174,7 @@ $as_echo "$as_me: ${PYTHON3_CONFIG_BIN}'s cflags were \"${python3_cflags}\"" >&6
                        s/-g[^ ]*//g;\
                        s/-W[^ ]*//g;\
                        s/-DNDEBUG[[:blank:]]*//g;\
+                       s/-frecord-gcc-switches//g;
                        s/-specs=[^ ]*//g
                        '`
                { $as_echo "$as_me:${as_lineno-$LINENO}: Sanitized cflags were \"${mod_cflags}\"" >&5
index 8f947d5349b770b120a80ff40ec856a7f7cc4dc0..7b035ae4eeba46719f980c197e7f41637a3f8971 100644 (file)
@@ -48,6 +48,7 @@ if test x$with_[]modname != xno; then
                dnl # Strip debug symbol flags (-g[0-9]?). We decide on debugging symbols, not python
                dnl # Strip -W*, we decide what warnings are important
                dnl # Strip -DNDEBUG
+               dnl # Strip -frecord-gcc-switches, We decide if we need that. not python.
                dnl # Strip -specs=/path/whatever.specs, We don't need the compiler .specs that comes from Python
                mod_cflags=`echo $python3_cflags | sed -e '\
                        s/-I/-isystem/g;\
@@ -57,6 +58,7 @@ if test x$with_[]modname != xno; then
                        s/-g[[^ ]]*//g;\
                        s/-W[[^ ]]*//g;\
                        s/-DNDEBUG[[[:blank:]]]*//g;\
+                       s/-frecord-gcc-switches//g;\
                        s/-specs=[^ ]*//g;
                        '`
                AC_MSG_NOTICE([Sanitized cflags were \"${mod_cflags}\"])