ld testsuite fails with default-PIE compiler
[deliverable/binutils-gdb.git] / ld / testsuite / ld-plugin / lto.exp
index d888854e1f2cef02b8175cd2dba11405ec54b6c4..5bd4c5f09b7bc04e9fd50bbd3ba7a3a2efb477fa 100644 (file)
@@ -149,7 +149,7 @@ set lto_link_tests [list \
    "" "-flto -O2 $lto_fat $NOSANTIZE_CFLAGS" \
    {pr12758b.c} {} "libpr12758.a"] \
   [list "PR ld/12758" \
-   "-O2 -Wl,-e,foo -nostdlib -flto -fuse-linker-plugin tmpdir/pr12758a.o -Wl,--start-group tmpdir/libpr12758.a -Wl,--end-group" \
+   "$NOPIE_LDFLAGS -O2 -Wl,-e,foo -nostdlib -flto -fuse-linker-plugin tmpdir/pr12758a.o -Wl,--start-group tmpdir/libpr12758.a -Wl,--end-group" \
    "$NOSANTIZE_CFLAGS" \
    {dummy.c} {} "pr12758.exe"] \
   [list "Compile PR ld/12760" \
This page took 0.023907 seconds and 4 git commands to generate.