From 1dcde6a10713383b074457d06b512c1d669c275d Mon Sep 17 00:00:00 2001 From: Val Kulkov Date: Sun, 10 Feb 2019 14:29:59 -0500 Subject: [PATCH] graphicsmagick: optimize compilation Use 'flto' compiler option to slightly reduce the installation footprint. Signed-off-by: Val Kulkov --- multimedia/graphicsmagick/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/multimedia/graphicsmagick/Makefile b/multimedia/graphicsmagick/Makefile index 2424c94a0..47a650667 100644 --- a/multimedia/graphicsmagick/Makefile +++ b/multimedia/graphicsmagick/Makefile @@ -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) \