mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/ghostscript: link with libatomic if needed
Fixes:
https://autobuild.buildroot.net/results/eed/eed88a2a77cb8c4ff8c59bac5091221e6873004c/
The build error occurs since 2024 so a backport to LTS branches should
be considered:
https://autobuild.buildroot.net/results/1ab/1ab4767c1198838c3e3d126cdba790197d102053/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 9c0385972d)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
committed by
Raphaël Mélotte
parent
79305a5185
commit
5cd2a457ca
@@ -37,6 +37,11 @@ GHOSTSCRIPT_CONF_ENV = \
|
||||
CFLAGSAUX="$(HOST_CFLAGS) $(HOST_LDFLAGS)" \
|
||||
PKGCONFIG="$(PKG_CONFIG_HOST_BINARY)"
|
||||
|
||||
# Uses __atomic_fetch_add_4
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
GHOSTSCRIPT_MAKE_ENV += XTRALIBS=-latomic
|
||||
endif
|
||||
|
||||
GHOSTSCRIPT_CONF_OPTS = \
|
||||
--disable-compile-inits \
|
||||
--enable-fontconfig \
|
||||
|
||||
Reference in New Issue
Block a user