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
|
||||
|
||||
# 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 \
|
||||
--shared-zlib \
|
||||
--shared-openssl \
|
||||
@ -9,7 +19,6 @@
|
||||
--without-report \
|
||||
--without-node-snapshot \
|
||||
--without-node-code-cache \
|
||||
--partly-static \
|
||||
--ninja
|
||||
|
||||
ninja -C out/Release
|
||||
|
Loading…
Reference in New Issue
Block a user