Browse Source

imagemagick: remove lto for GCC10

It does not work with GCC10.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
605ea8a21e
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      multimedia/imagemagick/Makefile

+ 2
- 2
multimedia/imagemagick/Makefile View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=imagemagick PKG_NAME:=imagemagick
PKG_VERSION:=7.0.9 PKG_VERSION:=7.0.9
PKG_REVISION:=5 PKG_REVISION:=5
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Val Kulkov <val.kulkov@gmail.com> PKG_MAINTAINER:=Val Kulkov <val.kulkov@gmail.com>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REVISION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REVISION).tar.gz
@ -109,7 +109,7 @@ CONFIGURE_ARGS += \
--with-png \ --with-png \
--with-tiff --with-tiff
TARGET_CFLAGS += -flto
TARGET_CFLAGS += $(if $(CONFIG_GCC_USE_VERSION_10),,-flto)
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include


Loading…
Cancel
Save