Update of /cvsroot/alsa/alsa-driver
In directory sc8-pr-cvs1:/tmp/cvs-serv9599

Modified Files:
        configure.in 
Log Message:
fixed c_opts for MIPS.



Index: configure.in
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/configure.in,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -r1.188 -r1.189
--- configure.in        1 Sep 2003 15:18:57 -0000       1.188
+++ configure.in        9 Sep 2003 18:08:42 -0000       1.189
@@ -706,7 +706,17 @@
     test "$CONFIG_ISA" = "probe" && CONFIG_ISA=
     ;;
   mips*)
-    c_opts="-mcpu=r4600 -G 0 -mips2 -fno-pic -mno-abicalls -mlong-calls"
+    if $CC -mtune=mips32 -S -o /dev/null -xc /dev/null > /dev/null 2>&1; then
+      c_opts="-mtune=mips32"
+    else
+      c_opts="-mcpu=r4600"
+    fi
+    if $CC -mips32 -mabi=32 -S -o /dev/null -xc /dev/null > /dev/null 2>&1; then
+      c_opts="$c_opts -mips32 -mabi=32"
+    else
+      c_opts="$_opts -mips2"
+    fi
+    c_opts="$c_opts -G 0 -fno-pic -mno-abicalls -mlong-calls"
     processor="mips"
     test "$CONFIG_ISA" = "probe" && CONFIG_ISA=
     ;;



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to