diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-06 14:09:13 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-06 14:09:13 +0000 |
commit | 5e4acd14d9941cb3113ff1d8ee8234e09c39d6d1 (patch) | |
tree | 8e14b96ad0b84b0bdbf7b0875da73946098f75f2 /user/node/libatomic.patch | |
parent | 23cf36fdb508ae89f21b11b78628be0b18217ef7 (diff) | |
download | packages-5e4acd14d9941cb3113ff1d8ee8234e09c39d6d1.tar.gz packages-5e4acd14d9941cb3113ff1d8ee8234e09c39d6d1.tar.bz2 packages-5e4acd14d9941cb3113ff1d8ee8234e09c39d6d1.tar.xz packages-5e4acd14d9941cb3113ff1d8ee8234e09c39d6d1.zip |
user/node: fix building on ppc32, and don't rebuild in package()
Diffstat (limited to 'user/node/libatomic.patch')
-rw-r--r-- | user/node/libatomic.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/user/node/libatomic.patch b/user/node/libatomic.patch new file mode 100644 index 000000000..fc2e4ffd2 --- /dev/null +++ b/user/node/libatomic.patch @@ -0,0 +1,14 @@ +--- node-v10.15.3/node.gyp.old 2019-03-05 15:16:32.000000000 +0000 ++++ node-v10.15.3/node.gyp 2019-04-06 13:54:51.204939193 +0000 +@@ -479,6 +479,11 @@ + 'msvs_disabled_warnings!': [4244], + + 'conditions': [ ++ [ 'host_arch=="mips" or host_arch=="mipsel" or host_arch=="ppc"', { ++ 'link_settings': { ++ 'libraries': [ '-latomic' ], ++ }, ++ }], + [ 'node_code_cache_path!=""', { + 'sources': [ '<(node_code_cache_path)' ] + }, { |