summaryrefslogtreecommitdiff
path: root/www/node18/files/patch-common.gypi
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2024-01-05 21:49:07 +0100
committerPiotr Kubaj <pkubaj@FreeBSD.org>2024-01-05 22:04:27 +0100
commit336c0f12b9f20e5aa47b359d5502883e23a14a30 (patch)
tree6d8ae2ff92942e5f0709ace90865cc702d5d4032 /www/node18/files/patch-common.gypi
parentwww/node16: remove ELFv1 support (diff)
www/node18: remove ELFv1 support
Diffstat (limited to 'www/node18/files/patch-common.gypi')
-rw-r--r--www/node18/files/patch-common.gypi20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/node18/files/patch-common.gypi b/www/node18/files/patch-common.gypi
new file mode 100644
index 000000000000..0f921bf14c8a
--- /dev/null
+++ b/www/node18/files/patch-common.gypi
@@ -0,0 +1,20 @@
+--- common.gypi.orig 2023-09-18 05:18:10 UTC
++++ common.gypi
+@@ -426,7 +426,7 @@
+ 'ldflags': [ '-m32' ],
+ }],
+ [ 'host_arch=="ppc64" and OS not in "aix os400"', {
+- 'cflags': [ '-m64', '-mminimal-toc' ],
++ 'cflags': [ '-m64' ],
+ 'ldflags': [ '-m64' ],
+ }],
+ [ 'host_arch=="s390x" and OS=="linux"', {
+@@ -450,7 +450,7 @@
+ 'ldflags': [ '-m32' ],
+ }],
+ [ 'target_arch=="ppc64" and OS not in "aix os400"', {
+- 'cflags': [ '-m64', '-mminimal-toc' ],
++ 'cflags': [ '-m64' ],
+ 'ldflags': [ '-m64' ],
+ }],
+ [ 'target_arch=="s390x" and OS=="linux"', {