Fixed absolute path in asan preload to avoid conflicts with qemu-accel 49/268249/1
authorAndrey Kazmin <a.kazmin@partner.samsung.com>
Tue, 7 Dec 2021 10:57:28 +0000 (13:57 +0300)
committerAndrey Kazmin <a.kazmin@partner.samsung.com>
Fri, 17 Dec 2021 09:48:02 +0000 (12:48 +0300)
Change-Id: Ibdf895148ce50673ae41c678375b22089e1419d1
Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
packaging/gcc-contrib.spec

index d0c37d0..c18341c 100644 (file)
@@ -514,7 +514,7 @@ echo "%{lsan_runtime_options}"  | tee LSAN_OPTIONS
 echo "%{tsan_runtime_options}"  | tee TSAN_OPTIONS
 echo "%{ubsan_runtime_options}" | tee UBSAN_OPTIONS
 
-echo "%{libdir}/libasan.so" | tee asan-runtime-ld.so.preload
+echo "libasan.so" | tee asan-runtime-ld.so.preload
 
 %ifarch x86_64
 gcc -shared -o libhwasan.so -fPIC hwasan_stub.c