wpa_supplicant: use CC. @konimex. Closes #160

This commit is contained in:
Dylan Araps 2020-02-25 00:01:51 +02:00
parent 306967306e
commit c3085daee6
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# The wpa_supplicant package is built statically using
# libnl-tiny which is a minimal version of libnl maintained
# 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
# libnl-tiny library.
@ -12,5 +12,5 @@ export CFLAGS="$CFLAGS -static -D_GNU_SOURCE -DLIBNL1_COMPAT"
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