summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2016-06-24 10:35:18 +0300
committerSlava Barinov <v.barinov@samsung.com>2016-10-27 14:15:19 +0300
commit462c8ac019d7f2b364b28ffc6bb337e42e4bdd5f (patch)
treeb66e3c8d8de10e1c26ed20fa237243bb4f7c84c5
parent67499a7a908f0c4ec323abed854ab8d662a1fb43 (diff)
downloadmic-bootstrap-462c8ac019d7f2b364b28ffc6bb337e42e4bdd5f.tar.gz
mic-bootstrap-462c8ac019d7f2b364b28ffc6bb337e42e4bdd5f.tar.bz2
mic-bootstrap-462c8ac019d7f2b364b28ffc6bb337e42e4bdd5f.zip
Create ld.so.preload as a file
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r--packaging/mic-bootstrap.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/mic-bootstrap.spec b/packaging/mic-bootstrap.spec
index 4dc02bf..f77e19a 100644
--- a/packaging/mic-bootstrap.spec
+++ b/packaging/mic-bootstrap.spec
@@ -90,10 +90,14 @@ done
rm filestoinclude1
rm filestoinclude2
+%{?asan:
+echo '/usr/lib/libasan.so' > /etc/ld.so.preload
+echo '/etc/ld.so.preload' >> filestoinclude
+}
+
set -x
%clean
rm -rf $RPM_BUILD_ROOT
%files -f filestoinclude
-