We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$BITS
$CPU
1 parent b5af174 commit b807e61Copy full SHA for b807e61
1 file changed
scripts/build
@@ -16,6 +16,13 @@ source $TOOLCHAIN/scripts/adjustEnvVars.sh || exit $?
16
PATH=$TOOLCHAIN/bin:$PATH
17
18
19
+# Build cross-compiler (if needed)
20
+(
21
+ cd $TOOLCHAIN
22
+ BITS=$BITS CPU=$CPU MACHINE=$MACHINE npm run build || exit $?
23
+) || exit $?
24
+
25
26
if [[ -z $OS ]]; then
27
OS="`uname`"
28
fi
@@ -37,13 +44,6 @@ case $OS in
37
44
esac
38
45
39
46
40
-# Build cross-compiler (if needed)
41
-(
42
- cd $TOOLCHAIN
43
- MACHINE=$MACHINE npm run build || exit $?
-) || exit $?
-
47
#
48
# Define steps paths
49
0 commit comments