mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03: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
|
||||
|
||||
GRAPHICSMAGICK_CONF_OPTS = \
|
||||
--disable-openmp \
|
||||
--without-dps \
|
||||
--without-fpx \
|
||||
--without-jbig \
|
||||
@@ -33,6 +32,12 @@ GRAPHICSMAGICK_CONF_OPTS = \
|
||||
|
||||
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)
|
||||
GRAPHICSMAGICK_CONF_OPTS += --with-ttf
|
||||
GRAPHICSMAGICK_CONF_ENV += ac_cv_path_freetype_config=$(STAGING_DIR)/usr/bin/freetype-config
|
||||
|
||||
Reference in New Issue
Block a user