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

glondu pushed a commit to branch master
in repository omake.

commit 587bb039799a542427ff6c093e3a4ebb375f7065
Author: Stephane Glondu <st...@glondu.net>
Date:   Tue Feb 4 08:36:42 2014 +0100

    Use LDFLAGS instead of CFLAGS for ld-as-needed (Closes: #681663)
---
 ...DFLAGS-instead-of-CFLAGS-for-ld-as-needed.patch | 24 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 25 insertions(+)

diff --git 
a/debian/patches/0005-Use-LDFLAGS-instead-of-CFLAGS-for-ld-as-needed.patch 
b/debian/patches/0005-Use-LDFLAGS-instead-of-CFLAGS-for-ld-as-needed.patch
new file mode 100644
index 0000000..8171afb
--- /dev/null
+++ b/debian/patches/0005-Use-LDFLAGS-instead-of-CFLAGS-for-ld-as-needed.patch
@@ -0,0 +1,24 @@
+From: Florian Hatat <mini...@wanadoo.fr>
+Date: Tue, 4 Feb 2014 08:35:02 +0100
+Subject: Use LDFLAGS instead of CFLAGS for ld-as-needed
+
+Bug: http://bugzilla.metaprl.org/cgi-bin/show_bug.cgi?id=738
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681663
+---
+ lib/configure/Configure.om | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/configure/Configure.om b/lib/configure/Configure.om
+index 2a7f9bf..9e3baa8 100644
+--- a/lib/configure/Configure.om
++++ b/lib/configure/Configure.om
+@@ -268,7 +268,7 @@ public.VerboseCheckCHeader(files) =
+ # \end{doc}
+ #
+ public.CheckCLib(libs, funs) =
+-    CFLAGS += $(addprefix -l, $(libs))
++    LDFLAGS += $(addprefix -l, $(libs))
+ 
+     return $(TryLinkC $"""
+ #ifdef __cplusplus
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index 9846197..b2cc4e4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0002-Remove-useless-sync-external-declaration.patch
 0003-Fix-attempt-to-free-a-non-heap-object.patch
 0004-Disable-fatal-warnings.patch
+0005-Use-LDFLAGS-instead-of-CFLAGS-for-ld-as-needed.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-ocaml-maint/packages/omake.git

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to