aboutsummaryrefslogtreecommitdiffstats
path: root/community/nodejs-current/link-with-libatomic-on-mips32.patch
diff options
context:
space:
mode:
authoralpine-mips-patches <info@mobile-stream.com>2018-12-19 07:44:45 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-12-19 12:35:52 +0000
commit3f3385cfb78f7ce5fed1e51ee6ce2dfe8c2c2c55 (patch)
tree98d9ec4fb5c6ecf98782e7931078e192d281a394 /community/nodejs-current/link-with-libatomic-on-mips32.patch
parentb8210687d23225b9ed24a92508b4904a7d267480 (diff)
downloadaports-3f3385cfb78f7ce5fed1e51ee6ce2dfe8c2c2c55.tar.bz2
aports-3f3385cfb78f7ce5fed1e51ee6ce2dfe8c2c2c55.tar.xz
community/nodejs-current: pass -latomic depending on host_arch
Check host_arch not target_arch to decide whether -latomic is necessary.
Diffstat (limited to 'community/nodejs-current/link-with-libatomic-on-mips32.patch')
-rw-r--r--community/nodejs-current/link-with-libatomic-on-mips32.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/nodejs-current/link-with-libatomic-on-mips32.patch b/community/nodejs-current/link-with-libatomic-on-mips32.patch
index 62fb6fec13..1210c69f70 100644
--- a/community/nodejs-current/link-with-libatomic-on-mips32.patch
+++ b/community/nodejs-current/link-with-libatomic-on-mips32.patch
@@ -4,7 +4,7 @@
}],
],
'conditions': [
-+ [ '(target_arch=="mips" or target_arch=="mipsel") and mips_arch_variant!="r6"', {
++ [ 'host_arch=="mips" or host_arch=="mipsel"', {
+ 'link_settings': {
+ 'libraries': [ '-latomic' ],
+ },
@@ -18,7 +18,7 @@
'msvs_disabled_warnings!': [4244],
'conditions': [
-+ [ '(target_arch=="mips" or target_arch=="mipsel") and mips_arch_variant!="r6"', {
++ [ 'host_arch=="mips" or host_arch=="mipsel"', {
+ 'link_settings': {
+ 'libraries': [ '-latomic' ],
+ },