From 6e9b93806305068f5be2c15a53b59b309f0861ab Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 13 Oct 2008 00:56:09 +0000 Subject: [PATCH] * mingw: Set sawcfile when -xc* is detected. Extend list of detected source filew. --- winsup/utils/ChangeLog | 5 +++++ winsup/utils/mingw | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 210ebc6d9..3379543db 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,8 @@ +2008-10-12 Christopher Faylor + + * mingw: Set sawcfile when -xc* is detected. Extend list of detected + source filew. + 2008-10-12 Christopher Faylor * mingw: Add more checks to allow more varied use. 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