[libm4ri] 11/14: do not include CFLAGS like -g, -O2 in pkg-config file

Cédric Boutillier boutil at moszumanska.debian.org
Sat Oct 18 21:11:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository libm4ri.

commit 6f5dd677f27a9515c706667414128932e4909e35
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Oct 15 23:22:33 2014 +0200

    do not include CFLAGS like -g, -O2 in pkg-config file
---
 debian/patches/fix_pkgconfig_file.patch | 13 +++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/fix_pkgconfig_file.patch b/debian/patches/fix_pkgconfig_file.patch
new file mode 100644
index 0000000..d8359cd
--- /dev/null
+++ b/debian/patches/fix_pkgconfig_file.patch
@@ -0,0 +1,13 @@
+Description: do not include -g -O2 in pkg-config Cflags
+ Those are wrong directives which could potentially lead to FTBFS
+Author: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2014-10-15
+
+--- a/m4ri.pc.in
++++ b/m4ri.pc.in
+@@ -7,4 +7,4 @@
+ Description: Dense linear algebra over GF(2).
+ Version: @PACKAGE_VERSION@
+ Libs: -L${libdir} -lm4ri -lm
+-Cflags: -I${includedir}/m4ri @CFLAGS@ @SIMD_CFLAGS@ @OPENMP_CFLAGS@
++Cflags: -I${includedir}/m4ri @SIMD_CFLAGS@ @OPENMP_CFLAGS@
diff --git a/debian/patches/series b/debian/patches/series
index f75194c..89ed383 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 disable_sse3.patch
+fix_pkgconfig_file.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libm4ri.git



More information about the debian-science-commits mailing list