summaryrefslogtreecommitdiff
path: root/android/arch.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/arch.go')
-rw-r--r--android/arch.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/android/arch.go b/android/arch.go
index d9ecb508d..1ec971d15 100644
--- a/android/arch.go
+++ b/android/arch.go
@@ -142,7 +142,10 @@ func (a ArchType) Bitness() string {
if a.Multilib == "lib32" {
return "32"
}
- return "64"
+ if a.Multilib == "lib64" {
+ return "64"
+ }
+ panic("Bitness is not defined for the common variant")
}
const COMMON_VARIANT = "common"