[libreadline-java] 19/21: honor dpkg CFLAGS

Tony Mancill tmancill at moszumanska.debian.org
Sat Mar 22 16:49:34 UTC 2014


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

tmancill pushed a commit to branch master
in repository libreadline-java.

commit 10c8045baf55058e4d5ea4ab5b065af14a2c3190
Author: tony mancill <tmancill at debian.org>
Date:   Sat Mar 22 09:26:50 2014 -0700

    honor dpkg CFLAGS
---
 debian/patches/makefile-CFLAGS.patch | 13 +++++++++++++
 debian/patches/series                |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/makefile-CFLAGS.patch b/debian/patches/makefile-CFLAGS.patch
new file mode 100644
index 0000000..731ac6f
--- /dev/null
+++ b/debian/patches/makefile-CFLAGS.patch
@@ -0,0 +1,13 @@
+diff --git a/src/native/Makefile b/src/native/Makefile
+index 679adb7..40e299b 100644
+--- a/src/native/Makefile
++++ b/src/native/Makefile
+@@ -55,7 +55,7 @@ CC = gcc
+ OBJ_EXT := o
+ LIB_PRE := lib
+ LIB_EXT := so
+-CFLAGS=-fPIC -DPOSIX
++CFLAGS+=-fPIC -DPOSIX
+ endif
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 736c78f..56657db 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ correct-typo.patch
 native-makefile.patch
 makefile-fix.patch
 clang_FTBFS_Wreturn-type.patch
+makefile-CFLAGS.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libreadline-java.git



More information about the pkg-java-commits mailing list