blob: 5f47d3f20aacbfcd44a0a6797d793142afe326e2 [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---
6 klcc/klcc.in | 3 +++
7 1 file changed, 3 insertions(+)
8
Patrick Williamsb48b7b42016-08-17 15:04:38 -05009diff --git a/klcc/klcc.in b/klcc/klcc.in
10index 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 }