]> code.ossystems Code Review - openembedded-core.git/commitdiff
ltp: Filter out -ffile-prefix-map
authorKhem Raj <raj.khem@gmail.com>
Wed, 28 Apr 2021 22:41:09 +0000 (15:41 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 1 May 2021 21:46:42 +0000 (22:46 +0100)
ffile-prefix-map is also needed for reproduble builds and when
introduced can be handled

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/ltp/ltp_20210121.bb

index 7c4b56b76cc59a82db7792c1b98f3eb8a8aef640..ffda71076231102e1fff0de15ebdf001427be091 100644 (file)
@@ -76,6 +76,7 @@ do_install(){
     find ${D}${prefix} -name Makefile | xargs -n 1 sed -i \
          -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
          -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
+         -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
          -e 's@[^ ]*--sysroot=[^ "]*@@g'
 
     # The controllers memcg_stree test seems to cause us hangs and takes 900s