ports/lang/node/patches/patch-include_node_common_gypi

30 lines
1,002 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: include/node/common.gypi
--- include/node/common.gypi.orig
+++ include/node/common.gypi
2024-09-19 07:08:57 +00:00
@@ -190,7 +190,6 @@
2023-08-16 22:26:55 +00:00
}],
],
},
- 'cflags': [ '-O3' ],
'conditions': [
['enable_lto=="true"', {
'cflags': ['<(lto)'],
2024-09-19 07:08:57 +00:00
@@ -491,7 +490,7 @@
2023-09-26 17:06:53 +00:00
'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"', {
2024-09-19 07:08:57 +00:00
@@ -515,7 +514,7 @@
2023-09-26 17:06:53 +00:00
'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"', {