diff --git a/elfutils-debuginfod.changes b/elfutils-debuginfod.changes index 74f5909..b625b88 100644 --- a/elfutils-debuginfod.changes +++ b/elfutils-debuginfod.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 23 09:29:20 UTC 2023 - Martin Liška + +- Disable a false-positive -Werror=use-after-free warning. + ------------------------------------------------------------------- Thu Feb 16 13:00:33 UTC 2023 - Pedro Monreal diff --git a/elfutils-debuginfod.spec b/elfutils-debuginfod.spec index 1fd8bb8..63ff25d 100644 --- a/elfutils-debuginfod.spec +++ b/elfutils-debuginfod.spec @@ -118,7 +118,7 @@ URL for a distribution. %build %sysusers_generate_pre %{SOURCE4} %{name} %{name}.conf -export CFLAGS="%optflags -Werror=date-time" +export CFLAGS="%optflags -Werror=date-time -Wno-use-after-free" CFLAGS+=" -g" # tests need debug info enabled (boo#1031556) %ifarch %sparc # Small PIC model not sufficient diff --git a/elfutils.changes b/elfutils.changes index ca7c287..26c9bba 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 23 09:29:20 UTC 2023 - Martin Liška + +- Disable a false-positive -Werror=use-after-free warning. + ------------------------------------------------------------------- Thu Feb 16 13:00:33 UTC 2023 - Pedro Monreal diff --git a/elfutils.spec b/elfutils.spec index 1e136cc..975209b 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -155,7 +155,7 @@ The package is dummy. %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects -export CFLAGS="%optflags -Werror=date-time" +export CFLAGS="%optflags -Werror=date-time -Wno-use-after-free" CFLAGS+=" -g" # tests need debug info enabled (boo#1031556) %ifarch %sparc # Small PIC model not sufficient