mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
wpa_supplicant: fails to build with LTO support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
fed83b886b
commit
a5a923c881
@ -22,14 +22,17 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
# wpa_supplicant fails to build with LTO
|
||||
strip_lto
|
||||
|
||||
cd $PKG_BUILD/$1
|
||||
|
||||
cp $ROOT/$PKG_DIR/config/makefile.config .config
|
||||
|
||||
echo "CFLAGS += $TARGET_CFLAGS -I$SYSROOT_PREFIX/usr/include/libnl3/" >> .config
|
||||
echo "CFLAGS += $CFLAGS -I$SYSROOT_PREFIX/usr/include/libnl3/" >> .config
|
||||
# echo "CONFIG_TLS=gnutls" >> .config
|
||||
# echo "CONFIG_GNUTLS_EXTRA=y" >> .config
|
||||
echo "CONFIG_LIBNL32=y" >> .config
|
||||
[ ! "$DEBUG" = "yes" ] && echo "CONFIG_NO_STDOUT_DEBUG=y" >> .config
|
||||
|
||||
make LIBDIR=/usr/lib BINDIR=/usr/bin
|
||||
make V=1 LIBDIR=/usr/lib BINDIR=/usr/bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user