From c219ce5497fefd709c31a3f28154a31f22569b47 Mon Sep 17 00:00:00 2001 From: Andrew Manison Date: Sun, 18 Jul 2010 16:05:45 +0000 Subject: Added default value for CC passed to build. --- main/wpa_supplicant/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/wpa_supplicant') 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 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 -- cgit v1.2.3