commit:     0b1fcb2dc09b9c5e1b66dc7a0a8b5b6f15731f75
Author:     François-Xavier Carton <fx.carton91 <AT> gmail <DOT> com>
AuthorDate: Mon Apr 19 01:09:12 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Apr 19 01:15:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0b1fcb2d

sci-mathematics/frama-c: respect CFLAGS

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

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

diff --git a/sci-mathematics/frama-c/frama-c-22.0.ebuild 
b/sci-mathematics/frama-c/frama-c-22.0.ebuild
index cffc68867..da4cb7ef4 100644
--- a/sci-mathematics/frama-c/frama-c-22.0.ebuild
+++ b/sci-mathematics/frama-c/frama-c-22.0.ebuild
@@ -53,6 +53,7 @@ S="${WORKDIR}/${P}-${NAME}"
 src_prepare() {
        mv configure.in configure.ac || die
        sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || 
die
+       sed -i '/\$(CC)/s/-O2 -g3/$(CFLAGS)/' src/plugins/e-acsl/Makefile.in || 
die
        touch config_file || die
        eautoreconf
        eapply_user

Reply via email to