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

Commit a19d9597 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Avoid `-target riscv64-linux-androidVanillaIceCream`.

clang silently ignores such things rather than reporting them as errors.

With this change, verbose.log.gz says android10000 instead, as expected.

Bug: https://buganizer.corp.google.com/issues/315788463#comment24
Test: treehugger
Change-Id: I0d92b0747912f28065de0d2dc6b4d33d1c2c9857
parent c1fb1592
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -479,7 +479,7 @@ func (compiler *baseCompiler) compilerFlags(ctx ModuleContext, flags Flags, deps
			target += strconv.Itoa(android.FutureApiLevelInt)
		} else {
			apiLevel := nativeApiLevelOrPanic(ctx, version)
			target += apiLevel.String()
			target += strconv.Itoa(apiLevel.FinalOrFutureInt())
		}
	}