Message ID | 20240226134905.280098-1-omatiush@cisco.com |
---|---|
State | Accepted, archived |
Commit | 693b42115e2f61abc9ca6096445dc494648cacb6 |
Headers | show |
Series | gmp: improve reproducibility | expand |
diff --git a/meta/recipes-support/gmp/gmp_6.2.1.bb b/meta/recipes-support/gmp/gmp_6.2.1.bb index 29055492c2..3128350e5f 100644 --- a/meta/recipes-support/gmp/gmp_6.2.1.bb +++ b/meta/recipes-support/gmp/gmp_6.2.1.bb @@ -38,6 +38,13 @@ do_install:prepend:class-target() { ${B}/gmp.h } +do_install:prepend:class-nativesdk() { + sed -i \ + -e "s|--sysroot=${STAGING_DIR_HOST}||g" \ + -e "s|${DEBUG_PREFIX_MAP}||g" \ + ${B}/gmp.h +} + SSTATE_SCAN_FILES += "gmp.h" # Doesn't compile in MIPS16e mode due to use of hand-written
nativesdk-gmp package contains host references in output packages. Remove them. Signed-off-by: Oleh Matiusha <omatiush@cisco.com> --- meta/recipes-support/gmp/gmp_6.2.1.bb | 7 +++++++ 1 file changed, 7 insertions(+)