aboutsummaryrefslogtreecommitdiff
path: root/network/broadcom-sta/broadcom-sta.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2017-12-27 11:51:31 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:55:03 +0700
commit1c3cdd272b99d818a91b9c12e895bb20d8510afc (patch)
tree1958551b1ff4b4c090a0e39c1bf3476b7c0e494f /network/broadcom-sta/broadcom-sta.SlackBuild
parent2bbac7eb5fa10d62ad0eebcf2749a1b3b456d89e (diff)
network/broadcom-sta: Fix for exported ARCH variable.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/broadcom-sta/broadcom-sta.SlackBuild')
-rw-r--r--network/broadcom-sta/broadcom-sta.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/broadcom-sta/broadcom-sta.SlackBuild b/network/broadcom-sta/broadcom-sta.SlackBuild
index 0716e2473cea..954f22759e10 100644
--- a/network/broadcom-sta/broadcom-sta.SlackBuild
+++ b/network/broadcom-sta/broadcom-sta.SlackBuild
@@ -78,8 +78,8 @@ if [ -n "${KERNEL##[23].*}" -a -n "${KERNEL##4.[0-6].*}" ]; then
fi
patch -p1 < $CWD/linux48.patch
-make -C /lib/modules/$KERNEL/build M=$(pwd) clean
-make -C /lib/modules/$KERNEL/build M=$(pwd)
+env -u ARCH make -C /lib/modules/$KERNEL/build M=$(pwd) clean
+env -u ARCH make -C /lib/modules/$KERNEL/build M=$(pwd)
mkdir -p $PKG/lib/modules/$KERNEL/kernel/extra
cp wl.ko $PKG/lib/modules/$KERNEL/kernel/extra