[klibc] [PATCH] support the gcc parameter --param in klcc
Mike Pagano
mpagano at gentoo.org
Mon Mar 21 05:59:41 PDT 2011
This patch adds support to klcc for the --param parameter.
Signed off by: Mike Pagano <mpagano at gentoo.org>
---
klcc.in | 3 +++
1 file changed, 3 insertions(+)
--- klcc/klcc.in.orig 2011-03-21 08:35:02.130497501 -0400
+++ klcc/klcc.in 2011-03-21 08:47:21.025476293 -0400
@@ -159,6 +159,9 @@ while ( defined($a = shift(@ARGV)) ) {
# gcc options, that force preprocessing mode
push(@ccopt, $a);
$operation = 'E';
+ } elsif ( $a eq '--param' ) {
+ push(@ccopt, $a);
+ push(@ccopt, shift(@ARGV));
} elsif ( $a =~ /^-[gp]/ || $a eq '-p' ) {
# Debugging options to gcc
push(@ccopt, $a);
More information about the klibc
mailing list