From d3a30979275cbd9a964c98df7ec1f6656358b6e4 Mon Sep 17 00:00:00 2001 From: Kiyoung Kim Date: Thu, 8 Aug 2019 13:01:27 +0900 Subject: [PATCH] Remove unused link from postinstall section Linker ignores link configuration if either namespace is not valid. However there was a link configuration from postinstall section which target link namespace does not exist. Also, there was no binary within postinstall from hwasan build (checked with bonito), so there may be no usage for this section now. Removing this line for better human readability, and behavior of the linker would be same as before. Test: m -j && tested from cuttlefish Change-Id: I0c7b2949d055ba767e1429238e8764ee7798fe44 --- rootdir/etc/ld.config.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/rootdir/etc/ld.config.txt b/rootdir/etc/ld.config.txt index 33214254e..46e992030 100644 --- a/rootdir/etc/ld.config.txt +++ b/rootdir/etc/ld.config.txt @@ -795,5 +795,3 @@ namespace.default.isolated = false namespace.default.search.paths = /system/${LIB} namespace.default.search.paths += /%SYSTEM_EXT%/${LIB} namespace.default.search.paths += /%PRODUCT%/${LIB} - -namespace.default.link.runtime.shared_libs = %SANITIZER_RUNTIME_LIBRARIES%