mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
webkit2gtk: fix ppc build
Seems like gold is buggy with this one and we need to add libatomic linkage as well. [ci skip]
This commit is contained in:
parent
8012a2cb9f
commit
0def93b42b
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ desc_option_jit="Enable JustInTime JS support"
|
||||||
desc_option_sampling_profiler="Toggle sampling profiler support (disabled on musl)"
|
desc_option_sampling_profiler="Toggle sampling profiler support (disabled on musl)"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
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
|
esac
|
||||||
|
|
||||||
# JIT conflicts with sampling_profiler
|
# JIT conflicts with sampling_profiler
|
||||||
|
@ -56,7 +56,7 @@ esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
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 "{}" \
|
find -name "CMakeLists.txt" -exec sed -i "{}" \
|
||||||
-e "/target_link_libraries/s/)/ atomic)/" \;
|
-e "/target_link_libraries/s/)/ atomic)/" \;
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue