Skip to content

Commit 15100a2

Browse files
committed
Fixed detection of arm toolchain for start script
1 parent 97591f7 commit 15100a2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/start

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ var cpu = args.cpu
1414

1515

1616
// [Hack] Can't be able to use x86_64 as generic x86 64 bits CPU
17-
var toolchainCpu = (cpu === 'nocona') ? 'x86_64' : args.cpu_family ? 'armv7' : cpu
17+
var toolchainCpu = (cpu === 'nocona')
18+
? 'x86_64'
19+
: (args.cpu_family === 'arm') ? 'armv7ve' : cpu
1820

1921
const LD_LIBRARY_PATH = require('nodeos-cross-toolchain')+'/'+toolchainCpu+'-nodeos-linux-'+args.libc+'/lib'
2022

0 commit comments

Comments
 (0)