mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
compile with lto
This commit is contained in:
@@ -67,11 +67,6 @@ PKG_CONFIGURE_OPTS_TARGET="BUILD_CC=$HOST_CC \
|
||||
|
||||
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() {
|
||||
rm -rf $INSTALL/sbin/badblocks
|
||||
rm -rf $INSTALL/sbin/blkid
|
||||
@@ -85,11 +80,6 @@ post_makeinstall_target() {
|
||||
rm -rf $INSTALL/sbin/mklost+found
|
||||
}
|
||||
|
||||
pre_configure_init() {
|
||||
# e2fsprogs fails to build with LTO support on gcc-4.9
|
||||
strip_lto
|
||||
}
|
||||
|
||||
makeinstall_init() {
|
||||
mkdir -p $INSTALL/sbin
|
||||
cp e2fsck/e2fsck $INSTALL/sbin
|
||||
|
||||
Reference in New Issue
Block a user