diff --git a/fix-tests.patch b/fix-tests.patch index f4c8031..6aad73c 100644 --- a/fix-tests.patch +++ b/fix-tests.patch @@ -1,5 +1,5 @@ diff --git a/test/elf/mold-wrapper.sh b/test/elf/mold-wrapper.sh -index 077cc43..58da342 100755 +index 077cc43..dcffbb6 100755 --- a/test/elf/mold-wrapper.sh +++ b/test/elf/mold-wrapper.sh @@ -13,6 +13,10 @@ cd "$(dirname "$0")"/../.. @@ -8,7 +8,7 @@ index 077cc43..58da342 100755 +# Skip if target is ARM +# https://github.com/rui314/mold/issues/442 -+[ $MACHINE = arm ] && { echo skipped; exit; } ++[[ $MACHINE = "arm"* ]] && { echo skipped; exit; } + [ "$CC" = cc ] || { echo skipped; exit; } diff --git a/mold.spec b/mold.spec index 5fd33ab..cab9f41 100644 --- a/mold.spec +++ b/mold.spec @@ -64,7 +64,6 @@ build time especially in rapid debug-edit-rebuild cycles. %prep %autosetup -p1 -uname -m %build %if %{suse_version} < 1550