diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-08-17 13:06:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-08-17 13:06:25 +0000 |
commit | 52c8f098bcb9d2c8da4ab98ac40916e473b2d93e (patch) | |
tree | 8a5bb11de9f4e6ed314a9004b50a1cf7702a8721 /main/acpica/APKBUILD | |
parent | f33126dd50d200d4f451d0fe8e9d05d35da9398c (diff) | |
download | aports-52c8f098bcb9d2c8da4ab98ac40916e473b2d93e.tar.bz2 aports-52c8f098bcb9d2c8da4ab98ac40916e473b2d93e.tar.xz |
main/acpica: build fix for x86_64
Diffstat (limited to 'main/acpica/APKBUILD')
-rw-r--r-- | main/acpica/APKBUILD | 8 |
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() { |