mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
compile with lto
This commit is contained in:
parent
ebd58821c1
commit
2262e0f72b
@ -67,11 +67,6 @@ PKG_CONFIGURE_OPTS_TARGET="BUILD_CC=$HOST_CC \
|
|||||||
|
|
||||||
PKG_CONFIGURE_OPTS_INIT="$PKG_CONFIGURE_OPTS_TARGET"
|
PKG_CONFIGURE_OPTS_INIT="$PKG_CONFIGURE_OPTS_TARGET"
|
||||||
|
|
||||||
pre_configure_target() {
|
|
||||||
# e2fsprogs fails to build with LTO support on gcc-4.9
|
|
||||||
strip_lto
|
|
||||||
}
|
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
rm -rf $INSTALL/sbin/badblocks
|
rm -rf $INSTALL/sbin/badblocks
|
||||||
rm -rf $INSTALL/sbin/blkid
|
rm -rf $INSTALL/sbin/blkid
|
||||||
@ -85,11 +80,6 @@ post_makeinstall_target() {
|
|||||||
rm -rf $INSTALL/sbin/mklost+found
|
rm -rf $INSTALL/sbin/mklost+found
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_configure_init() {
|
|
||||||
# e2fsprogs fails to build with LTO support on gcc-4.9
|
|
||||||
strip_lto
|
|
||||||
}
|
|
||||||
|
|
||||||
makeinstall_init() {
|
makeinstall_init() {
|
||||||
mkdir -p $INSTALL/sbin
|
mkdir -p $INSTALL/sbin
|
||||||
cp e2fsck/e2fsck $INSTALL/sbin
|
cp e2fsck/e2fsck $INSTALL/sbin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user