diff options
author | Chan Lee <chan45.lee@samsung.com> | 2017-08-23 20:28:57 +0900 |
---|---|---|
committer | Dongkyun Son <dongkyun.s@samsung.com> | 2017-08-30 00:40:20 +0000 |
commit | 3554bf089a6bf765e876b05544566309ddb34eb7 (patch) | |
tree | dc66e5207d8031f10ac1f850fbdca8757edfc69c | |
parent | 918ea684f3bb10a0181821c8ed75ee2777a7c603 (diff) | |
download | linaro-gcc-3554bf089a6bf765e876b05544566309ddb34eb7.tar.gz linaro-gcc-3554bf089a6bf765e876b05544566309ddb34eb7.tar.bz2 linaro-gcc-3554bf089a6bf765e876b05544566309ddb34eb7.zip |
packaging: remain ld.so.preload.org
Original file should be remained to restore when uninstalling rpm.
Change-Id: Id5e5b82ff327e14db966b142248d6a5a3e17917c
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
-rw-r--r-- | packaging/gcc-aarch64.spec | 3 | ||||
-rw-r--r-- | packaging/gcc-armv7l.spec | 3 | ||||
-rw-r--r-- | packaging/linaro-gcc.spec | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/packaging/gcc-aarch64.spec b/packaging/gcc-aarch64.spec index 3dc3488d979..cbc40152f86 100644 --- a/packaging/gcc-aarch64.spec +++ b/packaging/gcc-aarch64.spec @@ -772,7 +772,6 @@ Asan build environment [ -f /etc/ld.so.preload ] && mv -v /etc/ld.so.preload /etc/ld.so.preload.orig echo "libasan.so" > /etc/ld.so.preload [ -f /etc/ld.so.preload.orig ] && cat /etc/ld.so.preload.orig >> /etc/ld.so.preload -[ -f /etc/ld.so.preload.orig ] && rm -f /etc/ld.so.preload.orig %preun -n asan-build-env # Restore /etc/ld.so.preload @@ -792,7 +791,6 @@ LSan runtime environment [ -f /etc/ld.so.preload ] && mv -v /etc/ld.so.preload /etc/ld.so.preload.orig echo "%{libdir}/liblsan.so" > /etc/ld.so.preload [ -f /etc/ld.so.preload.orig ] && cat /etc/ld.so.preload.orig >> /etc/ld.so.preload -[ -f /etc/ld.so.preload.orig ] && rm -f /etc/ld.so.preload.orig echo "%{lsan_runtime_options}" > /LSAN_OPTIONS chsmack -a "_" /etc/ld.so.preload /LSAN_OPTIONS /lsan.supp @@ -824,7 +822,6 @@ Asan runtime environment [ -f /etc/ld.so.preload ] && mv -v /etc/ld.so.preload /etc/ld.so.preload.orig echo "%{libdir}/libasan.so" > /etc/ld.so.preload [ -f /etc/ld.so.preload.orig ] && cat /etc/ld.so.preload.orig >> /etc/ld.so.preload -[ -f /etc/ld.so.preload.orig ] && rm -f /etc/ld.so.preload.orig echo "%{asan_runtime_options}" > /ASAN_OPTIONS chsmack -a "_" /etc/ld.so.preload /ASAN_OPTIONS diff --git a/packaging/gcc-armv7l.spec b/packaging/gcc-armv7l.spec index 4aeb34526d2..0ff3c08bd5b 100644 --- a/packaging/gcc-armv7l.spec +++ b/packaging/gcc-armv7l.spec @@ -772,7 +772,6 @@ Asan build environment [ -f /etc/ld.so.preload ] && mv -v /etc/ld.so.preload /etc/ld.so.preload.orig echo "libasan.so" > /etc/ld.so.preload [ -f /etc/ld.so.preload.orig ] && cat /etc/ld.so.preload.orig >> /etc/ld.so.preload -[ -f /etc/ld.so.preload.orig ] && rm -f /etc/ld.so.preload.orig %preun -n asan-build-env # Restore /etc/ld.so.preload @@ -792,7 +791,6 @@ LSan runtime environment [ -f /etc/ld.so.preload ] && mv -v /etc/ld.so.preload /etc/ld.so.preload.orig echo "%{libdir}/liblsan.so" > /etc/ld.so.preload [ -f /etc/ld.so.preload.orig ] && cat /etc/ld.so.preload.orig >> /etc/ld.so.preload -[ -f /etc/ld.so.preload.orig ] && rm -f /etc/ld.so.preload.orig echo "%{lsan_runtime_options}" > /LSAN_OPTIONS chsmack -a "_" /etc/ld.so.preload /LSAN_OPTIONS /lsan.supp @@ -824,7 +822,6 @@ Asan runtime environment [ -f /etc/ld.so.preload ] && mv -v /etc/ld.so.preload /etc/ld.so.preload.orig echo "%{libdir}/libasan.so" > /etc/ld.so.preload [ -f /etc/ld.so.preload.orig ] && cat /etc/ld.so.preload.orig >> /etc/ld.so.preload -[ -f /etc/ld.so.preload.orig ] && rm -f /etc/ld.so.preload.orig echo "%{asan_runtime_options}" > /ASAN_OPTIONS chsmack -a "_" /etc/ld.so.preload /ASAN_OPTIONS diff --git a/packaging/linaro-gcc.spec b/packaging/linaro-gcc.spec index dfb07b0d028..e3f41f332fe 100644 --- a/packaging/linaro-gcc.spec +++ b/packaging/linaro-gcc.spec @@ -769,7 +769,6 @@ Asan build environment [ -f /etc/ld.so.preload ] && mv -v /etc/ld.so.preload /etc/ld.so.preload.orig echo "libasan.so" > /etc/ld.so.preload [ -f /etc/ld.so.preload.orig ] && cat /etc/ld.so.preload.orig >> /etc/ld.so.preload -[ -f /etc/ld.so.preload.orig ] && rm -f /etc/ld.so.preload.orig %preun -n asan-build-env # Restore /etc/ld.so.preload @@ -789,7 +788,6 @@ LSan runtime environment [ -f /etc/ld.so.preload ] && mv -v /etc/ld.so.preload /etc/ld.so.preload.orig echo "%{libdir}/liblsan.so" > /etc/ld.so.preload [ -f /etc/ld.so.preload.orig ] && cat /etc/ld.so.preload.orig >> /etc/ld.so.preload -[ -f /etc/ld.so.preload.orig ] && rm -f /etc/ld.so.preload.orig echo "%{lsan_runtime_options}" > /LSAN_OPTIONS chsmack -a "_" /etc/ld.so.preload /LSAN_OPTIONS /lsan.supp @@ -821,7 +819,6 @@ Asan runtime environment [ -f /etc/ld.so.preload ] && mv -v /etc/ld.so.preload /etc/ld.so.preload.orig echo "%{libdir}/libasan.so" > /etc/ld.so.preload [ -f /etc/ld.so.preload.orig ] && cat /etc/ld.so.preload.orig >> /etc/ld.so.preload -[ -f /etc/ld.so.preload.orig ] && rm -f /etc/ld.so.preload.orig echo "%{asan_runtime_options}" > /ASAN_OPTIONS chsmack -a "_" /etc/ld.so.preload /ASAN_OPTIONS |