Properly handle function without arguments
[gcc.git] / config / picflag.m4
index a720e257c45d9a47ed6a4b13ebdddccb356a8b7a..3bcdbf1de307fb1e918238d6e94f4ccfdc780819 100644 (file)
@@ -17,9 +17,11 @@ case "${$2}" in
     hppa*64*-*-hpux*)
        # PIC is the default for 64-bit PA HP-UX.
        ;;
-    i[[34567]]86-*-cygwin* | i[[34567]]86-*-mingw* | x86_64-*-mingw*)
+    i[[34567]]86-*-cygwin* | x86_64-*-cygwin*)
        ;;
-    i[[34567]]86-*-interix3*)
+    i[[34567]]86-*-mingw* | x86_64-*-mingw*)
+       ;;
+    i[[34567]]86-*-interix[[3-9]]*)
        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
        # Instead, we relocate shared libraries at runtime.
        ;;
@@ -48,9 +50,6 @@ case "${$2}" in
     i[[34567]]86-*-* | x86_64-*-*)
        $1=-fpic
        ;;
-    m68k-*-*)
-       $1=-fpic
-       ;;
     # FIXME: Override -fPIC default in libgcc only? 
     sh-*-linux* | sh[[2346lbe]]*-*-linux*)
        $1=-fpic