From 21a9af62dcba793a6ff5e7102b244ae6c467f16f Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 23 Jun 2021 14:18:16 -0400 Subject: [PATCH] Stop overriding optimization flags --- gn.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gn.spec b/gn.spec index db76188..efbd5e4 100644 --- a/gn.spec +++ b/gn.spec @@ -106,6 +106,9 @@ cp -vp misc/vim/README.md README-vim.md # On EPEL7, we would have to work around the missing py3_shebang_fix macro, but # the package would not build anyway because it requires C++17 support. +# Stop overriding optimization flags +sed -r -i '/.append(.-O3.)/d' build/gen.py + %build # We need to set CC and CXX explicitly before Fedora 33, including on the EPELs. @@ -202,6 +205,7 @@ grep -E '^#define[[:blank:]]+LAST_COMMIT_POSITION[[:blank:]]+'\ %changelog * Wed Jun 23 2021 Benjamin A. Beasley - 1920-1.20210623gitd924640c - Update to version 1920 +- Stop overriding optimization flags * Tue Jun 22 2021 Benjamin A. Beasley - 1919-1.20210622gite9b84332 - Update to version 1919