OSDN Git Service

* mingw: Set sawcfile when -xc* is detected. Extend list of detected source
authorcgf <cgf>
Mon, 13 Oct 2008 00:56:09 +0000 (00:56 +0000)
committercgf <cgf>
Mon, 13 Oct 2008 00:56:09 +0000 (00:56 +0000)
filew.

winsup/utils/ChangeLog
winsup/utils/mingw

index 210ebc6..3379543 100644 (file)
@@ -1,5 +1,10 @@
 2008-10-12  Christopher Faylor  <me+cygwin@cgf.cx>
 
+       * mingw: Set sawcfile when -xc* is detected.  Extend list of detected
+       source filew.
+
+2008-10-12  Christopher Faylor  <me+cygwin@cgf.cx>
+
        * mingw: Add more checks to allow more varied use.
 
 2008-10-11  Christopher Faylor  <me+cygwin@cgf.cx>
index d24a372..63bfb02 100755 (executable)
@@ -50,13 +50,14 @@ for f do
        case "$f" in
            *cygwin/include*|*newlib|-mno-cygwin) continue ;;
            -c|-E)              sawcomp() { return 0; } ;;
+           -xc*)               sawcfile() { return 0; } ;;
            -isystem)   eatnext() { return 0; }; continue ;;
            -o)         pushnext() { return 0; } ;;
            -nostdinc*) sawnostdinc() { return 0; } ;;
            -nostdlib)  sawnostdlib() { return 0; } ;;
            -shared|-Wl,-shared)        sawshared() { return 0; } ;;
            -*)         ;;
-           *.cc|*.c  sawcfile() { return 0; } ;;
+           *.cc|*.c|*.s|*.S|*.i|*.ii)  sawcfile() { return 0; } ;;
            *.o)                sawofile() { return 0; };;
        esac
     fi