summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Manison <amanison@anselsystems.com>2010-07-18 16:05:45 +0000
committerAndrew Manison <amanison@anselsystems.com>2010-07-19 02:18:04 +0000
commitc219ce5497fefd709c31a3f28154a31f22569b47 (patch)
tree95590837fe434aae2761bba39e23973644cc743c
parent4b1b9accb0530e72ce615488ce5afe69185aeb7b (diff)
downloadaports-c219ce5497fefd709c31a3f28154a31f22569b47.tar.bz2
aports-c219ce5497fefd709c31a3f28154a31f22569b47.tar.xz
Added default value for CC passed to build.
-rw-r--r--main/wpa_supplicant/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/wpa_supplicant/APKBUILD b/main/wpa_supplicant/APKBUILD
index 62695bf71..bbe82e466 100644
--- a/main/wpa_supplicant/APKBUILD
+++ b/main/wpa_supplicant/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wpa_supplicant
pkgver=0.7.2
-pkgrel=1
+pkgrel=2
pkgdesc="A utility providing key negotiation for WPA wireless networks"
url="http://hostap.epitest.fi/wpa_supplicant"
license="GPL"
@@ -17,7 +17,7 @@ _builddir="$srcdir"/$pkgname-$pkgver/$pkgname
prepare() {
cd "$_builddir"
# Toolchain setup
- echo "CC = $CC" > .config
+ echo "CC = ${CC:-gcc}" > .config
# Basic setup
echo "CONFIG_CTRL_IFACE=y" >> .config
@@ -88,7 +88,7 @@ prepare() {
echo "CONFIG_DELAYED_MIC_ERROR_REPORT=y" >> .config
}
-build() {
+build() {
cd "$_builddir"
make LIBDIR=/lib BINDIR=/sbin || return 1
# comment out the network={ } stansas in config