From c0958a44c4c19f5d6d98db6a3d7a4d18787fe160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 31 Jan 2012 13:51:05 +0200 Subject: 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. --- main/asterisk/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/asterisk/APKBUILD') 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 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() { -- cgit v1.2.3