[linbox] 03/03: Remove DEFAULT_CFLAGS from pkgconfig file.
Tobias Hansen
thansen at moszumanska.debian.org
Fri Oct 7 13:18:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository linbox.
commit f9f90ff7b3eb59cdb31622b5a8b033ff0eec3754
Author: Tobias Hansen <thansen at debian.org>
Date: Fri Oct 7 14:03:20 2016 +0100
Remove DEFAULT_CFLAGS from pkgconfig file.
---
debian/changelog | 2 ++
debian/patches/pkgconfig.patch | 14 ++++++++++++++
debian/patches/series | 1 +
3 files changed, 17 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index a2d553f..5cca1df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,6 +32,8 @@ linbox (1.4.2-1) UNRELEASED; urgency=medium
* Refresh patches.
* Add -fopenmp to LDFLAGS.
* Install pkgconfig file.
+ * New patch pkgconfig.patch:
+ Do not put the CFLAGS used to build linbox into the pkg-config file.
-- Doug Torrance <dtorrance at piedmont.edu> Sat, 30 Jul 2016 10:31:14 -0400
diff --git a/debian/patches/pkgconfig.patch b/debian/patches/pkgconfig.patch
new file mode 100644
index 0000000..469d68c
--- /dev/null
+++ b/debian/patches/pkgconfig.patch
@@ -0,0 +1,14 @@
+Description: Do not put the CFLAGS used to build linbox into the pkg-config file
+ @DEFAULT_CFLAGS@ results in something like
+ -O2 -Wall -g -DNDEBUG -U_LB_DEBUG
+Author: Tobias Hansen <thansen at debian.org>
+
+--- a/linbox.pc.in
++++ b/linbox.pc.in
+@@ -10,5 +10,5 @@
+ Version: @VERSION@
+ Requires: fflas-ffpack >= 2.2.2
+ Libs: -L${libdir} -llinbox @LINBOXSAGE_LIBS@ @NTL_LIBS@ @MPFR_LIBS@ @FPLLL_LIBS@ @IML_LIBS@ @FLINT_LIBS@ @OCL_LIBS@
+-Cflags: @DEFAULT_CFLAGS@ -DDISABLE_COMMENTATOR -I${includedir}/linbox @NTL_CFLAGS@ @MPFR_CFLAGS@ @FPLLL_CFLAGS@ @IML_CFLAGS@ @FLINT_CFLAGS@
++Cflags: -DDISABLE_COMMENTATOR -I${includedir}/linbox @NTL_CFLAGS@ @MPFR_CFLAGS@ @FPLLL_CFLAGS@ @IML_CFLAGS@ @FLINT_CFLAGS@
+ \-------------------------------------------------------
diff --git a/debian/patches/series b/debian/patches/series
index 4ea7ce5..c60f4b5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ soname.patch
fix-doc-path.patch
fix-RR-RecCounter.patch
no-install-docs.patch
+pkgconfig.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/linbox.git
More information about the debian-science-commits
mailing list