mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-03 16:40:11 -07:00
wpa_supplicant: use CC. @konimex. Closes #160
This commit is contained in:
parent
306967306e
commit
c3085daee6
@ -3,7 +3,7 @@
|
|||||||
# The wpa_supplicant package is built statically using
|
# The wpa_supplicant package is built statically using
|
||||||
# libnl-tiny which is a minimal version of libnl maintained
|
# libnl-tiny which is a minimal version of libnl maintained
|
||||||
# by OpenWRT.
|
# by OpenWRT.
|
||||||
make ALL_LIBS=libnl-tiny.a -C libnl
|
make CC="${CC:-cc}" ALL_LIBS=libnl-tiny.a -C libnl
|
||||||
|
|
||||||
# The CFLAGS must be set to link to the above locally built
|
# The CFLAGS must be set to link to the above locally built
|
||||||
# libnl-tiny library.
|
# libnl-tiny library.
|
||||||
@ -12,5 +12,5 @@ export CFLAGS="$CFLAGS -static -D_GNU_SOURCE -DLIBNL1_COMPAT"
|
|||||||
|
|
||||||
cd wpa_supplicant
|
cd wpa_supplicant
|
||||||
|
|
||||||
make LIBDIR=/usr/lib BINDIR=/usr/bin DRV_LIBS="$CFLAGS"
|
make LIBDIR=/usr/lib BINDIR=/usr/bin DRV_LIBS="$CFLAGS" CC="${CC:-cc}"
|
||||||
make LIBDIR=/usr/lib BINDIR=/usr/bin DESTDIR="$1" install
|
make LIBDIR=/usr/lib BINDIR=/usr/bin DESTDIR="$1" install
|
||||||
|
Loading…
Reference in New Issue
Block a user