[nfft] 03/06: d/p: add patch preventing override of CFLAGS

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri Jun 12 18:44:46 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository nfft.

commit 8939eb943a293d5436f35ea45ca0fcb1ac0d14f3
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Jun 12 19:02:03 2015 +0100

    d/p: add patch preventing override of CFLAGS
---
 debian/patches/series                    |  1 +
 debian/patches/stop-flags-override.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 5d2992f..7c83985 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 #fix-broken-destdir.diff
+stop-flags-override.patch
diff --git a/debian/patches/stop-flags-override.patch b/debian/patches/stop-flags-override.patch
new file mode 100644
index 0000000..8de00dc
--- /dev/null
+++ b/debian/patches/stop-flags-override.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -341,7 +341,7 @@
+ 
+ # override CFLAGS selection when debugging
+ if test "x${enable_debug}" = "xyes"; then
+-  CFLAGS="-g"
++  CFLAGS="$CFLAGS -g"
+ #  if test "x$ax_cv_c_compiler_vendor" = "xapple"; then
+ #    CFLAGS="$CFLAGS $ax_cv_apple_gcc_archflag"
+ #  fi

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



More information about the debian-science-commits mailing list