summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/mic-bootstrap.spec4
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 - )