mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
imagemagick: remove lto for GCC10
It does not work with GCC10. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -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 <val.kulkov@gmail.com>
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user