aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-08-17 13:06:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-17 13:06:25 +0000
commit52c8f098bcb9d2c8da4ab98ac40916e473b2d93e (patch)
tree8a5bb11de9f4e6ed314a9004b50a1cf7702a8721 /main
parentf33126dd50d200d4f451d0fe8e9d05d35da9398c (diff)
downloadaports-52c8f098bcb9d2c8da4ab98ac40916e473b2d93e.tar.bz2
aports-52c8f098bcb9d2c8da4ab98ac40916e473b2d93e.tar.xz
main/acpica: build fix for x86_64
Diffstat (limited to 'main')
-rw-r--r--main/acpica/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/acpica/APKBUILD b/main/acpica/APKBUILD
index 705c3f1c21..9bd218b662 100644
--- a/main/acpica/APKBUILD
+++ b/main/acpica/APKBUILD
@@ -28,8 +28,12 @@ build() {
generate/unix/Makefile \
generate/unix/Makefile.config \
|| return 1
-
- make BITSFLAG=-m32 || return 1
+
+ case $CARCH in
+ x86_64) _bits=64;;
+ x86) _bits=32;;
+ esac
+ make BITSFLAG=-m$_bits || return 1
}
package() {