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

Commit daced17b authored by Peter Collingbourne's avatar Peter Collingbourne Committed by Automerger Merge Worker
Browse files

Merge "Pass -Wl,--as-needed when linking Rust binaries." am: 67237c82 am:...

Merge "Pass -Wl,--as-needed when linking Rust binaries." am: 67237c82 am: 4968b03a am: 8c20cdda am: ce28e91f

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2536016



Change-Id: I64215b9cf3410ae04ee32fe5e6370c0321896794
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1d39edc8 ce28e91f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ func init() {

	pctx.ImportAs("cc_config", "android/soong/cc/config")
	pctx.StaticVariable("RustLinker", "${cc_config.ClangBin}/clang++")
	pctx.StaticVariable("RustLinkerArgs", "")
	pctx.StaticVariable("RustLinkerArgs", "-Wl,--as-needed")

	pctx.StaticVariable("DeviceGlobalLinkFlags", strings.Join(deviceGlobalLinkFlags, " "))