mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-15 20:03:57 +02:00
graphicsmagick: fix compilation with GCC 10
Same fix as in imagemagick. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
9bbba084a4
commit
0e8b0b3163
|
@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=graphicsmagick
|
||||
PKG_VERSION:=1.3.35
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/GraphicsMagick-$(PKG_VERSION)
|
||||
PKG_SOURCE:=GraphicsMagick-$(PKG_VERSION).tar.bz2
|
||||
|
@ -73,7 +73,7 @@ CONFIGURE_ARGS += \
|
|||
--without-zstd \
|
||||
--without-x
|
||||
|
||||
TARGET_CFLAGS += -flto
|
||||
TARGET_CFLAGS += $(if $(CONFIG_GCC_USE_VERSION_10),,-flto)
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include
|
||||
|
|
Loading…
Reference in New Issue
Block a user