diff options
author | Andrey Kazmin <a.kazmin@partner.samsung.com> | 2021-08-05 12:21:00 +0300 |
---|---|---|
committer | Andrey Kazmin <a.kazmin@partner.samsung.com> | 2021-08-05 12:21:00 +0300 |
commit | a2d0482eba4bbaccabb7c04d3db74ca5330e6879 (patch) | |
tree | fd2bd815cb0bb15a135751eae93818077cfa9008 | |
parent | 51e9845d9c9f602282b6a3783ed48b6c388db4a9 (diff) | |
download | mic-bootstrap-sandbox/akazmin/hwasan_build.tar.gz mic-bootstrap-sandbox/akazmin/hwasan_build.tar.bz2 mic-bootstrap-sandbox/akazmin/hwasan_build.zip |
Fixed missed ld.so.preload for ASan buildsandbox/akazmin/hwasan_build
Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
-rw-r--r-- | packaging/mic-bootstrap.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/mic-bootstrap.spec b/packaging/mic-bootstrap.spec index 57ca847..bb7649a 100644 --- a/packaging/mic-bootstrap.spec +++ b/packaging/mic-bootstrap.spec @@ -75,6 +75,10 @@ echo "/^\$/d" >> $sedtmp #execute sed -f $sedtmp -i filestoinclude1 +%{?asan: +echo "/etc/ld.so.preload" >> filestoinclude1 +} + # tar copy to bootstrap dir under buildroot # prefix /bootstrap will fix conflicts tar -T filestoinclude1 -cpf - | ( cd %buildroot/bootstrap && tar -xpf - ) |