Fix skipping of mold-wrapper.sh for ARM targets.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=56
This commit is contained in:
parent
468c496c82
commit
5781c2aea9
@ -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; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user