aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois-Xavier Carton <fx.carton91@gmail.com>2022-05-24 23:06:19 +0200
committerFrançois-Xavier Carton <fx.carton91@gmail.com>2022-05-24 23:30:00 +0200
commit86ecc49dcb6310bf9c9d1a02eaeeaf484d499a25 (patch)
tree862496de3365a341ec8c8b815210168f61892337 /sci-mathematics
parentdev-util/pmbootstrap: add 1.44.1 (diff)
downloadguru-86ecc49dcb6310bf9c9d1a02eaeeaf484d499a25.tar.gz
guru-86ecc49dcb6310bf9c9d1a02eaeeaf484d499a25.tar.bz2
guru-86ecc49dcb6310bf9c9d1a02eaeeaf484d499a25.zip
sci-mathematics/frama-c: respect CFLAGS
Closes: https://bugs.gentoo.org/840559 Signed-off-by: François-Xavier Carton <fx.carton91@gmail.com>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/frama-c/frama-c-24.0.ebuild1
1 files changed, 1 insertions, 0 deletions
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
}