1
0
mirror of /repos/Prototyper.git synced 2026-02-27 16:12:00 +01:00

add ARM support

This commit is contained in:
Aiko Mastboom
2013-05-07 23:53:10 +02:00
parent 2d54c3a67c
commit da411e3da3

View File

@@ -20,7 +20,7 @@ arch=`uname -m`
if [[ "${arch}" == 'armv6l' ]]; then
# ARM support: https://github.com/mongodb/js-bson/issues/37
rm -rf ./node_modules/bson/build
${SED} -d s/#define USE_MISALIGNED_MEMORY_ACCESS 1/#define USE_MISALIGNED_MEMORY_ACCESS 0/g ./node_modules/bson/ext/bson.h
${SED} -e s/#define USE_MISALIGNED_MEMORY_ACCESS 1/#define USE_MISALIGNED_MEMORY_ACCESS 0/g ./node_modules/bson/ext/bson.h
npm install bson
fi