diff options
author | Christopher Faylor <me@cgf.cx> | 2008-10-13 00:56:09 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-10-13 00:56:09 +0000 |
commit | 6e9b93806305068f5be2c15a53b59b309f0861ab (patch) | |
tree | 7d69a43b4ac9b4645f70dda1cbbdab9e2a034a78 /winsup/utils/mingw | |
parent | a7844a1841d0ee1d84ebba6774aca2d65a4d749e (diff) | |
download | cygnal-6e9b93806305068f5be2c15a53b59b309f0861ab.tar.gz cygnal-6e9b93806305068f5be2c15a53b59b309f0861ab.tar.bz2 cygnal-6e9b93806305068f5be2c15a53b59b309f0861ab.zip |
* mingw: Set sawcfile when -xc* is detected. Extend list of detected source
filew.
Diffstat (limited to 'winsup/utils/mingw')
-rwxr-xr-x | winsup/utils/mingw | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/utils/mingw b/winsup/utils/mingw index d24a372ce..63bfb02ae 100755 --- a/winsup/utils/mingw +++ b/winsup/utils/mingw @@ -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 |