blob: af76564901307413edf4d04a82d8c399d0c703eb [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From 0cb26cf2d25d36c1fdcc4f1635e4329436ed866a Mon Sep 17 00:00:00 2001
2From: Andrea Adami <andrea.adami@gmail.com>
3Date: Fri, 19 Sep 2014 23:09:29 +0200
4
5---
Patrick Williams520786c2023-06-25 16:20:36 -05006Upstream-Status: Pending
7
Brad Bishop316dfdd2018-06-25 12:45:53 -04008 klcc/klcc.in | 3 +++
9 1 file changed, 3 insertions(+)
10
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011diff --git a/klcc/klcc.in b/klcc/klcc.in
12index 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 }