Commit 4630a8f5 authored by Tristan Van Berkom's avatar Tristan Van Berkom

mozjs24: Tuning for i386 and arm builds

This module generates target dependent assembly code
and as such must be informed of the target triple. Failing
to do so can result in generation of x86_64 specific instructions
when targetting i386.

Note: on i386 we specify i586-unknown-linux-gnu because that is
the triple of the compiler we have in the base runtime.
parent 83f059ce
......@@ -534,6 +534,20 @@
},
{
"name": "mozjs24",
"build-options" : {
"arch" : {
"i386" : {
"config-opts" : [
"--host=i586-unknown-linux-gnu"
]
},
"arm" : {
"config-opts" : [
"--host=arm-unknown-linux-gnueabi"
]
}
}
},
"config-opts": [ "--disable-static",
"--with-system-nspr",
"--enable-threadsafe",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment