blob: 3b7031e981ffbfca9a0607b4ed4168f9e9c3d848 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001meta-clang passes this option to compiler defaults
2
3Upstream-Status: Pending
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5
Brad Bishop26bdd442019-08-16 17:08:17 -04006--- a/klcc/klcc.in
7+++ b/klcc/klcc.in
8@@ -207,6 +207,12 @@ while ( defined($a = shift(@ARGV)) ) {
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08009 } 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 Bishop26bdd442019-08-16 17:08:17 -040015+ } elsif ( $a =~ '--unwindlib=.*' ) {
16+ # Allow clang options
17+ push(@ccopt, $a);
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080018 } else {
19 die "$0: unknown option: $a\n";
20 }