[Pkg-javascript-commits] [node-gyp] 61/82: Add 2003 patch to let -fPIC be on all archs

Ximin Luo infinity0 at debian.org
Mon Aug 31 00:41:01 UTC 2015


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

infinity0 pushed a commit to branch master
in repository node-gyp.

commit f01064618dd7a9ab398a135851e70f9a217a14fa
Author: Jérémy Lal <kapouer at melix.org>
Date:   Mon Mar 3 01:16:54 2014 +0100

    Add 2003 patch to let -fPIC be on all archs
---
 debian/patches/2003_fPIC_ia32.patch | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/debian/patches/2003_fPIC_ia32.patch b/debian/patches/2003_fPIC_ia32.patch
new file mode 100644
index 0000000..34fc17c
--- /dev/null
+++ b/debian/patches/2003_fPIC_ia32.patch
@@ -0,0 +1,16 @@
+Description: let -fPIC be the default on all archs
+ http://lintian.debian.org/tags/shlib-with-non-pic-code.html
+Forwarded: not-needed
+Author: Jérémy Lal <kapouer at melix.org>
+Last-Update: 2014-03-03
+--- a/addon.gypi
++++ b/addon.gypi
+@@ -51,7 +51,7 @@
+         # OS!="win"
+         'defines': [ '_LARGEFILE_SOURCE', '_FILE_OFFSET_BITS=64' ],
+       }],
+-      [ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
++      [ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or OS=="linux"', {
+         'cflags': [ '-fPIC' ],
+       }]
+     ]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-gyp.git



More information about the Pkg-javascript-commits mailing list