forked from kiss-community/repo
nodejs: fix issues with llvm/clang. See #282
This commit is contained in:
parent
8c28694cbd
commit
d3adf1adec
|
@ -1,5 +1,15 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
# Fix build when libatomic.so does not exist in the system.
|
||||||
|
# This may be provided by compiler-rt which requires no additional
|
||||||
|
# linker flags to be used.
|
||||||
|
[ -r "$KISS_ROOT/usr/lib/libatomic.so" ] || {
|
||||||
|
sed 's/-latomic//' node.gyp > _
|
||||||
|
mv -f _ node.gyp
|
||||||
|
}
|
||||||
|
|
||||||
|
export CC="${CC:-cc}" CXX="${CXX:-c++}"
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--shared-zlib \
|
--shared-zlib \
|
||||||
--shared-openssl \
|
--shared-openssl \
|
||||||
|
@ -9,7 +19,6 @@
|
||||||
--without-report \
|
--without-report \
|
||||||
--without-node-snapshot \
|
--without-node-snapshot \
|
||||||
--without-node-code-cache \
|
--without-node-code-cache \
|
||||||
--partly-static \
|
|
||||||
--ninja
|
--ninja
|
||||||
|
|
||||||
ninja -C out/Release
|
ninja -C out/Release
|
||||||
|
|
Loading…
Reference in New Issue
Block a user