* expr.c (operand): Pass &c to md_parse_name().
[deliverable/binutils-gdb.git] / ltcf-c.sh
index 3d99a49cc1918c21c4b28a4959a79d776be5c2d0..fda1d8b60c25be457409124c603824afdf0b9a7e 100644 (file)
--- a/ltcf-c.sh
+++ b/ltcf-c.sh
@@ -624,6 +624,10 @@ else
         lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
       fi
       ;;
+    *djgpp*)
+      # DJGPP does not support shared libraries at all
+      ac_cv_prog_cc_pic=
+      ;;
     cygwin* | mingw* | os2*)
       # This hack is so that the source file can tell whether it is being
       # built for inclusion in a dll (and should export symbols for example).
@@ -723,7 +727,16 @@ else
       ;;
     esac
   fi
-  ac_cv_prog_cc_pic="$ac_cv_prog_cc_pic -DPIC"
+  case "$host_os" in
+      # Platforms which do not suport PIC and -DPIC is meaningless
+      # on them:
+      *djgpp*)
+        ac_cv_prog_cc_pic=
+        ;;
+      *)
+        ac_cv_prog_cc_pic="$ac_cv_prog_cc_pic -DPIC"
+        ;;
+  esac
 fi
 
 need_lc=yes
This page took 0.033541 seconds and 4 git commands to generate.