From 605ea8a21e29ac41fe8069044bb32cf308ce1873 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 11 Oct 2020 16:57:01 -0700 Subject: [PATCH] imagemagick: remove lto for GCC10 It does not work with GCC10. Signed-off-by: Rosen Penev --- multimedia/imagemagick/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multimedia/imagemagick/Makefile b/multimedia/imagemagick/Makefile index 3da216080..482425131 100644 --- a/multimedia/imagemagick/Makefile +++ b/multimedia/imagemagick/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=imagemagick PKG_VERSION:=7.0.9 PKG_REVISION:=5 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Val Kulkov PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REVISION).tar.gz @@ -109,7 +109,7 @@ CONFIGURE_ARGS += \ --with-png \ --with-tiff -TARGET_CFLAGS += -flto +TARGET_CFLAGS += $(if $(CONFIG_GCC_USE_VERSION_10),,-flto) define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include