diff options
author | Mike Pagano <mpagano@gentoo.org> | 2011-03-21 08:59:41 -0400 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2011-03-29 15:05:28 +0200 |
commit | bd6a9d0855c20334d6b8c5446f8554e1fe17ac9b (patch) | |
tree | 6bcd58a7faf04e9143361c64c19d861e6e015258 | |
parent | 462d58eb98068b99cbb52063d11ac28b74a77222 (diff) | |
download | klibc-bd6a9d0855c20334d6b8c5446f8554e1fe17ac9b.tar.gz |
[klibc] klcc support the gcc parameter --param
This patch adds support to klcc for the --param parameter.
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r-- | klcc/klcc.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/klcc/klcc.in b/klcc/klcc.in index d4313a5df43c1..711a8321cda69 100644 --- a/klcc/klcc.in +++ b/klcc/klcc.in @@ -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); |