Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From 0cb26cf2d25d36c1fdcc4f1635e4329436ed866a Mon Sep 17 00:00:00 2001 |
| 2 | From: Andrea Adami <andrea.adami@gmail.com> |
| 3 | Date: Fri, 19 Sep 2014 23:09:29 +0200 |
| 4 | |
| 5 | --- |
| 6 | klcc/klcc.in | 3 +++ |
| 7 | 1 file changed, 3 insertions(+) |
| 8 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 9 | diff --git a/klcc/klcc.in b/klcc/klcc.in |
| 10 | index 43d0984..61e9385 100644 |
| 11 | --- a/klcc/klcc.in |
| 12 | +++ b/klcc/klcc.in |
| 13 | @@ -204,6 +204,9 @@ while ( defined($a = shift(@ARGV)) ) { |
| 14 | # Libraries |
| 15 | push(@libs, $a); |
| 16 | push(@libs, shift(@ARGV)) if ( $2 eq '' ); |
| 17 | + } elsif ( $a =~ /^--([sysroot=])(.*)$/ ) { |
| 18 | + # Override gcc encoded sysroot |
| 19 | + push(@ccopt, $a); |
| 20 | } else { |
| 21 | die "$0: unknown option: $a\n"; |
| 22 | } |