Add -flto to PR ld/20321 test
[deliverable/binutils-gdb.git] / ld / testsuite / ld-plugin / lto.exp
index 2ecb4d021c4828f21d9e7dab660a5394572caa34..4ed163ea466b91c6665a3774814175c0dda839e4 100644 (file)
@@ -199,7 +199,7 @@ set lto_link_tests [list \
    "$plug_opt" "-flto $lto_no_fat" \
    {pr20267b.c} {} "libpr20267b.a"] \
   [list "Build pr20321" \
-   "-Wl,-plugin,$plug_so" "-flto" \
+   "-flto -Wl,-plugin,$plug_so" "-flto" \
    {pr20321.c} {} "pr20321" "c" ".*: duplicated plugin"] \
 ]
 
This page took 0.024775 seconds and 4 git commands to generate.