Author: sparky
Date: Mon Jul 31 01:27:13 2006
New Revision: 7566

Modified:
   toys/tools/gcc.wrapper
Log:
- more no-check arguments


Modified: toys/tools/gcc.wrapper
==============================================================================
--- toys/tools/gcc.wrapper      (original)
+++ toys/tools/gcc.wrapper      Mon Jul 31 01:27:13 2006
@@ -15,7 +15,11 @@
 
 FORARGS:
 foreach my $arg (@ARGV) {
-       foreach my $nocomp (qw(-E -MM --version -v -V -print-prog-name=ld 
conftest -print-search-dirs conftest conftest.o gcctest.c try.c --help 
--target-help)) {
+       foreach my $nocomp (qw(
+                       -E -MM --version -v -V --help --target-help
+                       -print-prog-name=ld -print-file-name=include 
-print-search-dirs
+                       conftest conftest.c conftest.cpp conftest.o gcctest.c 
try.c
+                       -D__KERNEL__)) {
                if ($arg eq $nocomp) {
                        $link = 0;
                        $compile = 0;
@@ -59,3 +63,5 @@
 }
 
 exec("/usr/bin/$prog.real", @ARGV);
+
+# vim: ts=4:sw=4
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to