Merge pull request #7 from starlab-io/arm-strip-fix
rust: inhibit stripping for cross compiler to avoid errors
This commit is contained in:
@@ -412,6 +412,13 @@ do_install_class-cross () {
|
|||||||
rust_do_install
|
rust_do_install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# using host-strip on target .so files generated by this recipie causes build errors.
|
||||||
|
# for now, disable stripping.
|
||||||
|
# A better (but more complex) approach would be to mimic gcc-runtime and build
|
||||||
|
# the target.so files in a seperate .bb file.
|
||||||
|
INHIBIT_PACKAGE_STRIP_class-cross = "1"
|
||||||
|
INHIBIT_SYSROOT_STRIP_class-cross = "1"
|
||||||
|
|
||||||
## }}}
|
## }}}
|
||||||
|
|
||||||
BBCLASSEXTEND = "cross native"
|
BBCLASSEXTEND = "cross native"
|
||||||
|
|||||||
Reference in New Issue
Block a user