diff --git a/test/canonical-plt.sh b/test/canonical-plt.sh index 48a7274a..a341f549 100755 --- a/test/canonical-plt.sh +++ b/test/canonical-plt.sh @@ -21,7 +21,7 @@ int main() { } EOF -clang -fuse-ld=`pwd`/../mold -o $t/exe $t/a.so $t/b.o +clang -fuse-ld=`pwd`/../mold -no-pie -o $t/exe $t/a.so $t/b.o $t/exe | grep -q 1 echo OK