Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | meta-clang passes this option to compiler defaults |
| 2 | |
| 3 | Upstream-Status: Pending |
| 4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 5 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 6 | --- a/klcc/klcc.in |
| 7 | +++ b/klcc/klcc.in |
| 8 | @@ -207,6 +207,12 @@ while ( defined($a = shift(@ARGV)) ) { |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 9 | } elsif ( $a =~ /^--([sysroot=])(.*)$/ ) { |
| 10 | # Override gcc encoded sysroot |
| 11 | push(@ccopt, $a); |
| 12 | + } elsif ( $a eq '-no-integrated-as' ) { |
| 13 | + # Allow clang options |
| 14 | + push(@ccopt, $a); |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 15 | + } elsif ( $a =~ '--unwindlib=.*' ) { |
| 16 | + # Allow clang options |
| 17 | + push(@ccopt, $a); |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 18 | } else { |
| 19 | die "$0: unknown option: $a\n"; |
| 20 | } |