1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/www/node/files/extra-patch-common.gypi
Piotr Kubaj 2fab8881e3 www/node: fix build and runtime when using ELFv2 ABI on powerpc64
Submitted by:   alfredo.junior@eldorado.org.br
Reviewed by:    mikael.urankar@gmail.com
Approved by:    bhughes (maintainer timeout), mentors (implicit approval)
Differential Revision:  https://reviews.freebsd.org/D21588
2019-11-29 16:28:47 +00:00

14 lines
496 B
Python

--- common.gypi.orig 2019-10-01 15:32:40.000000000 +0200
+++ common.gypi 2019-10-16 12:47:09.236138000 +0200
@@ -390,8 +390,8 @@
'ldflags': [ '-m32' ],
}],
[ 'target_arch=="ppc64" and OS!="aix"', {
- 'cflags': [ '-m64', '-mminimal-toc' ],
- 'ldflags': [ '-m64' ],
+ 'cflags': [ '-m64' ],
+ 'ldflags': [ '-m64' ],
}],
[ 'target_arch=="s390x"', {
'cflags': [ '-m64', '-march=z196' ],