summaryrefslogtreecommitdiffstats
path: root/main/asterisk/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-01-31 13:51:05 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-01-31 13:51:58 +0200
commitc0958a44c4c19f5d6d98db6a3d7a4d18787fe160 (patch)
tree1194dd785587e14f08a53a509c9a65d53cae80a9 /main/asterisk/APKBUILD
parentdd4f961b33af1b83c2a3ad21f8f54aa7b5cbd663 (diff)
downloadaports-c0958a44c4c19f5d6d98db6a3d7a4d18787fe160.tar.bz2
aports-c0958a44c4c19f5d6d98db6a3d7a4d18787fe160.tar.xz
main/asterisk: honor CFLAGS
Asterisk build (since 10.1.0) will set -march=native unless explicitly overridden via ASTCFLAGS on the main build. So set ASTCFLAGS to Alpine CFLAGS that include the -march.
Diffstat (limited to 'main/asterisk/APKBUILD')
-rw-r--r--main/asterisk/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index 85b3ffdec..b9f8f23cb 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=asterisk
pkgver=10.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Asterisk: A Module Open Source PBX System"
url="http://www.asterisk.org/"
arch="all"
@@ -68,7 +68,7 @@ build() {
# and figure out which modules to build
rm menuselect.makeopts
make menuselect.makeopts
- make ASTLDFLAGS="$LDFLAGS" || return 1
+ make ASTCFLAGS="$CFLAGS" ASTLDFLAGS="$LDFLAGS" || return 1
}
package() {