mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/graphicsmagick: enable OpenMP when supported by toolchain
Signed-off-by: Grzegorz Blach <grzegorz@blach.pl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
82442b54b6
commit
89c904c27a
@@ -21,7 +21,6 @@ GRAPHICSMAGICK_CONFIG_SCRIPTS += GraphicsMagick++-config
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
GRAPHICSMAGICK_CONF_OPTS = \
|
GRAPHICSMAGICK_CONF_OPTS = \
|
||||||
--disable-openmp \
|
|
||||||
--without-dps \
|
--without-dps \
|
||||||
--without-fpx \
|
--without-fpx \
|
||||||
--without-jbig \
|
--without-jbig \
|
||||||
@@ -33,6 +32,12 @@ GRAPHICSMAGICK_CONF_OPTS = \
|
|||||||
|
|
||||||
GRAPHICSMAGICK_DEPENDENCIES = host-pkgconf
|
GRAPHICSMAGICK_DEPENDENCIES = host-pkgconf
|
||||||
|
|
||||||
|
ifeq ($(BR2_TOOLCHAIN_HAS_OPENMP),y)
|
||||||
|
GRAPHICSMAGICK_CONF_OPTS += --enable-openmp
|
||||||
|
else
|
||||||
|
GRAPHICSMAGICK_CONF_OPTS += --disable-openmp
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_FREETYPE),y)
|
ifeq ($(BR2_PACKAGE_FREETYPE),y)
|
||||||
GRAPHICSMAGICK_CONF_OPTS += --with-ttf
|
GRAPHICSMAGICK_CONF_OPTS += --with-ttf
|
||||||
GRAPHICSMAGICK_CONF_ENV += ac_cv_path_freetype_config=$(STAGING_DIR)/usr/bin/freetype-config
|
GRAPHICSMAGICK_CONF_ENV += ac_cv_path_freetype_config=$(STAGING_DIR)/usr/bin/freetype-config
|
||||||
|
|||||||
Reference in New Issue
Block a user