package/utils/e2fsprogs: Update to 1.44.3
authorDaniel Engberg <daniel.engberg.lists@pyret.net>
Sat, 14 Jul 2018 20:35:34 +0000 (22:35 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 16 Jul 2018 13:12:18 +0000 (15:12 +0200)
Update e2fsprogs to 1.44.3
Enable threads
Enable LTO

Numbers on mips_24kc (a few packages):

Old --> New --> LTO and threads
e2fsprogs_*_mips_24kc.ipk: 173 --> 174 --> 154kbyte
libblkid_*_mips_24kc.ipk:  114 --> 114 --> 114kbyte
libext2fs_*_mips_24kc.ipk: 138 --> 139 --> 139kbyte

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
package/utils/e2fsprogs/Makefile

index b1e4922..13a4087 100644 (file)
@@ -8,8 +8,8 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=e2fsprogs
-PKG_VERSION:=1.44.2
-PKG_HASH:=8324cf0b6e81805a741d94087b00e99f7e16144f1ee5a413709a1fa6948b126c
+PKG_VERSION:=1.44.3
+PKG_HASH:=5d899f7d30f481cc0c6a049ebe26ebe145f1b524182ea1ecde4086162d4e4bb6
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
@@ -131,7 +131,8 @@ $(call Package/e2fsprogs)
   DEPENDS:= +e2fsprogs
 endef
 
-TARGET_CFLAGS += $(FPIC) -ffunction-sections -fdata-sections
+TARGET_CFLAGS += $(FPIC) -ffunction-sections -fdata-sections -flto
+TARGET_LDFLAGS += -flto
 
 CONFIGURE_ARGS += \
        --disable-testio-debug \
@@ -142,7 +143,6 @@ CONFIGURE_ARGS += \
        --disable-tls           \
        --disable-nls           \
        --disable-rpath         \
-       --disable-threads       \
        --disable-fuse2fs
 
 define Build/Prepare