Stop adding the bootstrap directory to rpath.

This is no longer necessary now that the bootstrap linker does this
automatically. See:
https://android-review.googlesource.com/c/platform/bionic/+/954353

Change-Id: Ib4f280632ecdfd307c07c464d542726f69fa9cc0
This commit is contained in:
Peter Collingbourne 2019-05-16 19:38:31 -07:00
parent c5dfdf6a82
commit e690b03a93

View File

@ -16,12 +16,6 @@ cc_binary {
// and /system/lib/libc.so point to the mount points where nothing
// is mounted on yet. Therefore, secilc has to have explicit knowledge about
// the paths where the bootstrap Bionic is. bootstrap:true sets DT_INTERP to
// /system/bin/bootstrap/linker. RPATH is explicitly set to /system/lib/bootstrap
// where the bootstrap libc.so is.
// /system/bin/bootstrap/linker.
bootstrap: true,
target: {
android: {
ldflags: ["-Wl,--rpath,/system/${LIB}/bootstrap"],
},
},
}