Browse Source

graphicsmagick: optimize compilation

Use 'flto' compiler option to slightly reduce the installation
footprint.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
lilik-openwrt-22.03
Val Kulkov 6 years ago
parent
commit
1dcde6a107
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      multimedia/graphicsmagick/Makefile

+ 3
- 1
multimedia/graphicsmagick/Makefile View File

@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=graphicsmagick PKG_NAME:=graphicsmagick
PKG_VERSION:=1.3.31 PKG_VERSION:=1.3.31
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_BUILD_DIR:=$(BUILD_DIR)/GraphicsMagick-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/GraphicsMagick-$(PKG_VERSION)
PKG_SOURCE:=GraphicsMagick-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=GraphicsMagick-$(PKG_VERSION).tar.bz2
@ -72,6 +72,8 @@ CONFIGURE_ARGS += \
--without-zstd \ --without-zstd \
--without-x --without-x
TARGET_CFLAGS += -flto
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include
$(CP) \ $(CP) \


Loading…
Cancel
Save