1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-11 13:06:59 +03:00

Attempt to fix a test for Alt Linux

Fixes https://github.com/rui314/mold/issues/1073
This commit is contained in:
Rui Ueyama 2023-07-30 21:59:58 +09:00
parent ec10452b67
commit f2b278ce10

View File

@ -26,7 +26,7 @@ $CXX -c -o $t/c.o $t/a.cc -fno-PIC
$CXX -B. -o $t/exe1 $t/b.o $static
$QEMU $t/exe1
$CXX -B. -o $t/exe2 $t/c.o $static
$CXX -B. -o $t/exe2 $t/c.o -no-pie $static
$QEMU $t/exe2
$CXX -B. -o $t/exe3 $t/b.o -pie
@ -38,7 +38,7 @@ $QEMU $t/exe4
$CXX -B. -o $t/exe5 $t/b.o -pie -Wl,--gc-sections
$QEMU $t/exe5
$CXX -B. -o $t/exe6 $t/c.o $static -Wl,--gc-sections
$CXX -B. -o $t/exe6 $t/c.o -no-pie $static -Wl,--gc-sections
$QEMU $t/exe6
if [ $MACHINE = x86_64 ]; then