mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
wpa_supplicant: build with lto
This commit is contained in:
parent
2d6fa0cef8
commit
09b28bb171
@ -36,9 +36,6 @@ PKG_MAKE_OPTS_TARGET="-C wpa_supplicant V=1 LIBDIR=/usr/lib BINDIR=/usr/bin"
|
|||||||
PKG_MAKEINSTALL_OPTS_TARGET="-C wpa_supplicant V=1 LIBDIR=/usr/lib BINDIR=/usr/bin"
|
PKG_MAKEINSTALL_OPTS_TARGET="-C wpa_supplicant V=1 LIBDIR=/usr/lib BINDIR=/usr/bin"
|
||||||
|
|
||||||
configure_target() {
|
configure_target() {
|
||||||
# wpa_supplicant fails to build with LTO
|
|
||||||
strip_lto
|
|
||||||
|
|
||||||
LDFLAGS="$LDFLAGS -lpthread -lm"
|
LDFLAGS="$LDFLAGS -lpthread -lm"
|
||||||
|
|
||||||
cp $PKG_DIR/config/makefile.config wpa_supplicant/.config
|
cp $PKG_DIR/config/makefile.config wpa_supplicant/.config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user