mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
nodejs ./configure tweaks for hardfloat
This commit is contained in:
parent
ea2bedeab0
commit
6d5fea87c4
1 changed files with 11 additions and 1 deletions
|
@ -32,6 +32,15 @@ build() {
|
|||
sed -i "s|python |python2 |" Makefile
|
||||
|
||||
export PYTHON=python2
|
||||
|
||||
if [ "$CARCH" == "arm" ]; then
|
||||
EABI=soft
|
||||
fi
|
||||
if [ "$CARCH" == "armv7h" -o "$CARCH" == "armv6h" ]; then
|
||||
EABI=hard
|
||||
fi
|
||||
|
||||
|
||||
# we're going to attept to make use of this example
|
||||
# https://github.com/joyent/node/issues/2131#issuecomment-3208846
|
||||
# https://gist.github.com/1574158
|
||||
|
@ -41,7 +50,8 @@ build() {
|
|||
--shared-v8 \
|
||||
--shared-v8-libpath=/usr/lib \
|
||||
--shared-v8-includes=/usr/include \
|
||||
--without-snapshot
|
||||
--without-snapshot \
|
||||
--with-arm-float-abi=$EABI
|
||||
|
||||
make
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue