Merge branches 'pr19', 'pr20' and 'pr21', remote-tracking branch 'origin/no-strip'
This commit is contained in:
4
conf/distro/include/rust_security_flags.inc
Normal file
4
conf/distro/include/rust_security_flags.inc
Normal file
@@ -0,0 +1,4 @@
|
||||
# Build errors with PIE options enabled
|
||||
SECURITY_CFLAGS_pn-rust-native = "${SECURITY_NO_PIE_CFLAGS}"
|
||||
SECURITY_CFLAGS_pn-rust-cross = "${SECURITY_NO_PIE_CFLAGS}"
|
||||
SECURITY_CFLAGS_pn-rust = "${SECURITY_NO_PIE_CFLAGS}"
|
||||
@@ -8,4 +8,7 @@ BBFILE_COLLECTIONS += "rust-layer"
|
||||
BBFILE_PATTERN_rust-layer := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_rust-layer = "7"
|
||||
|
||||
LICENSE_PATH += "${LAYERDIR}/files/licenses"
|
||||
LICENSE_PATH += "${LAYERDIR}/files/common-licenses"
|
||||
|
||||
# Override security flags
|
||||
require conf/distro/include/rust_security_flags.inc
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
SRC_DISTRIBUTE_LICENSES += "GPL-2.0-with-linking-exception"
|
||||
Reference in New Issue
Block a user