toys/tools/gcc.wrapper

sparky cvs at pld-linux.org
Fri Aug 4 15:40:05 CEST 2006


Author: sparky
Date: Fri Aug  4 15:40:03 2006
New Revision: 7592

Modified:
   toys/tools/gcc.wrapper
Log:
- dont report anything what contains ^-Wp,-MD,scripts (kernel modules)


Modified: toys/tools/gcc.wrapper
==============================================================================
--- toys/tools/gcc.wrapper	(original)
+++ toys/tools/gcc.wrapper	Fri Aug  4 15:40:03 2006
@@ -24,7 +24,7 @@
 			-print-search-dirs
 			-print-libgcc-file-name -dumpmachine -dumpversion
 			gcctest.c try.c
-			/dev/null -Wp,-MD,scripts/basic/.split-include.d
+			/dev/null
 			-D__KERNEL__)) {
 		if ($arg eq $nocomp) {
 			$link = 0;
@@ -36,7 +36,8 @@
 		$link = 0;
 		next;
 	}
-	if ($arg =~ /^-print-(prog|file)-name=/ or $arg =~ /conftest/) {
+	if ($arg =~ /^-print-(prog|file)-name=/ or $arg =~ /conftest/
+			or $arg =~ /^-Wp,-MD,scripts/) {
 		$link = 0;
 		$compile = 0;
 		last FORARGS;


More information about the pld-cvs-commit mailing list