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 | --- |
Patrick Williams | 520786c | 2023-06-25 16:20:36 -0500 | [diff] [blame] | 6 | Upstream-Status: Pending |
| 7 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 8 | klcc/klcc.in | 3 +++ |
| 9 | 1 file changed, 3 insertions(+) |
| 10 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 11 | diff --git a/klcc/klcc.in b/klcc/klcc.in |
| 12 | index 43d0984..61e9385 100644 |
| 13 | --- a/klcc/klcc.in |
| 14 | +++ b/klcc/klcc.in |
| 15 | @@ -204,6 +204,9 @@ while ( defined($a = shift(@ARGV)) ) { |
| 16 | # Libraries |
| 17 | push(@libs, $a); |
| 18 | push(@libs, shift(@ARGV)) if ( $2 eq '' ); |
| 19 | + } elsif ( $a =~ /^--([sysroot=])(.*)$/ ) { |
| 20 | + # Override gcc encoded sysroot |
| 21 | + push(@ccopt, $a); |
| 22 | } else { |
| 23 | die "$0: unknown option: $a\n"; |
| 24 | } |