From 495e9384b008bf4bb1735201a1c8388d4c659f9e Mon Sep 17 00:00:00 2001 From: git-bruh Date: Sat, 26 Mar 2022 14:29:16 +0530 Subject: [PATCH] wpa_supplicant: don't assume AR --- extra/wpa_supplicant/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/wpa_supplicant/build b/extra/wpa_supplicant/build index ad25afb7..1d8d92a5 100755 --- a/extra/wpa_supplicant/build +++ b/extra/wpa_supplicant/build @@ -15,8 +15,8 @@ export LDFLAGS="-L$PWD/libnl" # CFLAGS must expand to individual arguments. # shellcheck disable=2086 - $CC $CFLAGS $CPPFLAGS -c ./*.c - ar rc libnl-tiny.a ./*.o + ${CC:-cc} $CFLAGS $CPPFLAGS -c ./*.c + ${AR:-ar} rc libnl-tiny.a ./*.o ) cd wpa_supplicant