Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fea5684 authored by Ivan Lozano's avatar Ivan Lozano Committed by Gerrit Code Review
Browse files

Merge "cc: Remove unneeded ubsan library linkage on host" into main

parents 4123b9aa 2a2d509a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1566,7 +1566,7 @@ func sanitizerRuntimeMutator(mctx android.BottomUpMutatorContext) {
			addStaticDeps(config.BuiltinsRuntimeLibrary(toolchain), true)
		}

		if runtimeSharedLibrary != "" && (toolchain.Bionic() || toolchain.Musl() || c.sanitize.Properties.UbsanRuntimeDep) {
		if runtimeSharedLibrary != "" && (toolchain.Bionic() || toolchain.Musl()) {
			// UBSan is supported on non-bionic linux host builds as well

			// Adding dependency to the runtime library. We are using *FarVariation*