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 | |
| 6 | Index: git/klcc/klcc.in |
| 7 | =================================================================== |
| 8 | --- git.orig/klcc/klcc.in |
| 9 | +++ git/klcc/klcc.in |
| 10 | @@ -207,6 +207,9 @@ while ( defined($a = shift(@ARGV)) ) { |
| 11 | } elsif ( $a =~ /^--([sysroot=])(.*)$/ ) { |
| 12 | # Override gcc encoded sysroot |
| 13 | push(@ccopt, $a); |
| 14 | + } elsif ( $a eq '-no-integrated-as' ) { |
| 15 | + # Allow clang options |
| 16 | + push(@ccopt, $a); |
| 17 | } else { |
| 18 | die "$0: unknown option: $a\n"; |
| 19 | } |