graphicsmagick: optimize compilation
authorVal Kulkov <redacted>
Sun, 10 Feb 2019 19:29:59 +0000 (14:29 -0500)
committerVal Kulkov <redacted>
Sun, 10 Feb 2019 20:22:43 +0000 (15:22 -0500)
Use 'flto' compiler option to slightly reduce the installation
footprint.

Signed-off-by: Val Kulkov <redacted>
multimedia/graphicsmagick/Makefile

index 2424c94a00fe831f40f9d5152d295b411a6555a0..47a650667d3bcdfd1c556e9fd15b5dd696f626d8 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=graphicsmagick
 PKG_VERSION:=1.3.31
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/GraphicsMagick-$(PKG_VERSION)
 PKG_SOURCE:=GraphicsMagick-$(PKG_VERSION).tar.bz2
@@ -72,6 +72,8 @@ CONFIGURE_ARGS += \
        --without-zstd \
        --without-x
 
+TARGET_CFLAGS += -flto
+
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include
        $(CP) \
git clone https://git.99rst.org/PROJECT