 index 1821779..eda7790 100644
 --- a/build-aux/ltmain.sh
 +++ b/build-aux/ltmain.sh
-@@ -5084,9 +5084,12 @@ func_mode_link ()
+@@ -5084,9 +5084,14 @@ func_mode_link ()
        # --sysroot=*          for sysroot support
        # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
        # -stdlib=*            select c++ std lib with clang

-shared-libgcc and -static-lib* flags along to GCC.
---
 build-aux/ltmain.in |    5 ++++-
 build-aux/ltmain.sh |    5 ++++-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 1821779..eda7790 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5084,9 +5084,12 @@ func_mode_link ()
       # --sysroot=*          for sysroot support
       # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
       # -stdlib=*            select c++ std lib with clang

       -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
-      -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
+      -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
+      -ftree-parallelize-loops=*|-fcilkplus|-fgnu-tm|-ffast-math| \
+      -funsafe-math-optimizations|-fvtable-verify*| \
+      -shared-libgcc|-static-libgcc|-static-libgfortran|-static-libstdc++)
         func_quote_for_eval "$arg"
 	arg=$func_quote_for_eval_result
