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

apo pushed a commit to branch master
in repository jblas.

commit 4b5e824eda3f0640529e16cae4e31dd7487a7a39
Author: Markus Koschany <[email protected]>
Date:   Tue Oct 24 14:53:13 2017 +0200

    Add debug-symbols.patch and build with debug symbols.
---
 debian/patches/debug-symbols.patch | 21 +++++++++++++++++++++
 debian/patches/series              |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/debug-symbols.patch 
b/debian/patches/debug-symbols.patch
new file mode 100644
index 0000000..d0718f2
--- /dev/null
+++ b/debian/patches/debug-symbols.patch
@@ -0,0 +1,21 @@
+From: Markus Koschany <[email protected]>
+Date: Tue, 24 Oct 2017 14:53:01 +0200
+Subject: debug symbols
+
+---
+ config/config_cc.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/config/config_cc.rb b/config/config_cc.rb
+index fc4e687..14181ac 100644
+--- a/config/config_cc.rb
++++ b/config/config_cc.rb
+@@ -51,7 +51,7 @@ configure 'CC', 'CFLAGS' => ['OS_NAME', 'OS_ARCH', 
'JAVA_HOME'] do
+     Path.check_cmd('gcc', 'make', 'ld')
+     JblasConfig::CONFIG << <<EOS
+ CC = gcc
+-CFLAGS = -fPIC
++CFLAGS = -g -fPIC
+ INCDIRS += -Iinclude -I#{java_home}/include -I#{java_home}/include/linux
+ SO = so
+ LIB = lib
diff --git a/debian/patches/series b/debian/patches/series
index d1e42f8..baed766 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 version-property.patch
+debug-symbols.patch

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

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to