summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0716e2473c..954f22759e 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