From 0def93b42bac6e548f14e9ca0c6fd65150ec4706 Mon Sep 17 00:00:00 2001 From: q66 Date: Mon, 12 Aug 2019 23:51:56 +0200 Subject: [PATCH] webkit2gtk: fix ppc build Seems like gold is buggy with this one and we need to add libatomic linkage as well. [ci skip] --- srcpkgs/webkit2gtk/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/webkit2gtk/template b/srcpkgs/webkit2gtk/template index 459f1018a4d..a603525306b 100644 --- a/srcpkgs/webkit2gtk/template +++ b/srcpkgs/webkit2gtk/template @@ -44,7 +44,7 @@ desc_option_jit="Enable JustInTime JS support" desc_option_sampling_profiler="Toggle sampling profiler support (disabled on musl)" case "$XBPS_TARGET_MACHINE" in - aarch64*|arm*) configure_args+=" -DUSE_LD_GOLD=0";; + aarch64*|arm*|ppc|ppc-musl) configure_args+=" -DUSE_LD_GOLD=0";; esac # JIT conflicts with sampling_profiler @@ -56,7 +56,7 @@ esac pre_configure() { case "$XBPS_TARGET_MACHINE" in - armv[56]*) # Add -latomic to the targets + armv[56]*|ppc|ppc-musl) # Add -latomic to the targets find -name "CMakeLists.txt" -exec sed -i "{}" \ -e "/target_link_libraries/s/)/ atomic)/" \; ;;