File: 2003_fPIC_ia32.patch

package info (click to toggle)
node-gyp 9.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,548 kB
  • sloc: python: 22,325; javascript: 4,147; lisp: 258; cs: 186; cpp: 28; sh: 23; makefile: 7
file content (16 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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@melix.org>
Last-Update: 2014-03-03
--- a/addon.gypi
+++ b/addon.gypi
@@ -196,7 +196,7 @@
         ],
       }],
       [ 'OS in "freebsd openbsd netbsd solaris android" or \
-         (OS=="linux" and target_arch!="ia32")', {
+         (OS=="linux")', {
         'cflags': [ '-fPIC' ],
       }],
     ]