commit:     86ecc49dcb6310bf9c9d1a02eaeeaf484d499a25
Author:     François-Xavier Carton <fx.carton91 <AT> gmail <DOT> com>
AuthorDate: Tue May 24 21:06:19 2022 +0000
Commit:     Francois-Xavier Carton <fx.carton91 <AT> gmail <DOT> com>
CommitDate: Tue May 24 21:30:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=86ecc49d

sci-mathematics/frama-c: respect CFLAGS

Closes: https://bugs.gentoo.org/840559
Signed-off-by: François-Xavier Carton <fx.carton91 <AT> gmail.com>

 sci-mathematics/frama-c/frama-c-24.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-mathematics/frama-c/frama-c-24.0.ebuild 
b/sci-mathematics/frama-c/frama-c-24.0.ebuild
index 5234acac6..59f668c96 100644
--- a/sci-mathematics/frama-c/frama-c-24.0.ebuild
+++ b/sci-mathematics/frama-c/frama-c-24.0.ebuild
@@ -31,6 +31,7 @@ src_prepare() {
        mv configure.in configure.ac || die
        sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || 
die
        touch config_file || die
+       sed -i '/^\t\$(CC)/s/ -O3 /$(CFLAGS)/' Makefile || die
        eautoreconf
        eapply_user
 }

Reply via email to