]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - config/picflag.m4
Remove unnecessary string literals from static_assert in C++17 tests
[thirdparty/gcc.git] / config / picflag.m4
index e0fa3439997db7b0e40d400546a9b6f63f2e5a8e..8b106f9af8868e6816633a0edf4dbcfad729520e 100644 (file)
@@ -12,7 +12,7 @@ case "${$2}" in
          # If we are using a compiler supporting mdynamic-no-pic
          # and the option has been tested as safe to add, then cancel
          # it here, since the code generated is incompatible with shared
-         # libs.
+         # libs.
          *-mdynamic-no-pic*) $1='-fno-common -mno-dynamic-no-pic' ;;
          *) $1=-fno-common ;;
        esac
@@ -61,7 +61,8 @@ case "${$2}" in
        $1=-fpic
        ;;
     # FIXME: Simplify to sh*-*-netbsd*?
-    sh-*-netbsdelf* | shl*-*-netbsdelf*)
+    sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
+      sh64-*-netbsd* | sh64l*-*-netbsd*)
        $1=-fpic
        ;;
     # Default to -fPIC unless specified otherwise.