[Pkg-haskell-commits] darcs: haskell-bindings-gpgme: Pass LFS_CFLAGS to gcc and ghc.

Clint Adams clint at debian.org
Thu Mar 15 23:44:39 UTC 2012


Thu Mar 15 23:42:44 UTC 2012  Clint Adams <clint at debian.org>
  * Pass LFS_CFLAGS to gcc and ghc.
  Ignore-this: 420a13aa26cf1d660592b1f3d2cf093d

    M ./changelog +6
    M ./rules -1 +4

Thu Mar 15 23:42:44 UTC 2012  Clint Adams <clint at debian.org>
  * Pass LFS_CFLAGS to gcc and ghc.
  Ignore-this: 420a13aa26cf1d660592b1f3d2cf093d
diff -rN -u old-haskell-bindings-gpgme//changelog new-haskell-bindings-gpgme//changelog
--- old-haskell-bindings-gpgme//changelog	2012-03-15 23:44:39.758745627 +0000
+++ new-haskell-bindings-gpgme//changelog	2012-03-15 23:44:39.762745826 +0000
@@ -1,3 +1,9 @@
+haskell-bindings-gpgme (0.1.3-3) unstable; urgency=low
+
+  * Increase reach of LFS flags.
+
+ -- Clint Adams <clint at debian.org>  Thu, 15 Mar 2012 19:27:04 -0400
+
 haskell-bindings-gpgme (0.1.3-2) unstable; urgency=low
 
   * Use appropriate LFS CFLAGS with hsc2hs.  closes: #659153.
diff -rN -u old-haskell-bindings-gpgme//rules new-haskell-bindings-gpgme//rules
--- old-haskell-bindings-gpgme//rules	2012-03-15 23:44:39.758745627 +0000
+++ new-haskell-bindings-gpgme//rules	2012-03-15 23:44:39.762745826 +0000
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 
-DEB_SETUP_GHC_CONFIGURE_ARGS = --hsc2hs-options="$$(getconf LFS_CFLAGS)"
+LFS_CFLAGS := $(shell getconf LFS_CFLAGS)
+GHC_LFSFLAGS := $(LFS_CFLAGS) $(patsubst %,-optc %,$(LFS_CFLAGS))
+
+DEB_SETUP_GHC_CONFIGURE_ARGS = --hsc2hs-options="$(LFS_CFLAGS)" --gcc-options="$(LFS_CFLAGS)" --ghc-options="$(GHC_LFSFLAGS)"
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk





More information about the Pkg-haskell-commits mailing list