diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-08-19 22:29:50 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2023-08-19 22:29:50 +0000 |
commit | e709e2291f70ce535e077d76ecb40c33f8bb6fe1 (patch) | |
tree | 18dfa4dac0b91cff9292e835948151183f8648bd /www/node20/files | |
parent | biology/star: fix build on !amd64 (diff) |
www/node20: update powerpc64* patch to account for new changes
Diffstat (limited to 'www/node20/files')
-rw-r--r-- | www/node20/files/extra-patch-common.gypi | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/www/node20/files/extra-patch-common.gypi b/www/node20/files/extra-patch-common.gypi index 02db35b1a46c..c1a1298912e1 100644 --- a/www/node20/files/extra-patch-common.gypi +++ b/www/node20/files/extra-patch-common.gypi @@ -1,11 +1,20 @@ ---- common.gypi.orig 2023-04-12 04:09:10 UTC +--- common.gypi.orig 2023-07-20 18:27:37 UTC +++ common.gypi @@ -426,7 +426,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"', { + '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"', { |