mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
77922f115a
Let klcc understand '-no-integrated-as' which is a clang option used by meta-clang for compiler defaults Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
20 lines
566 B
Diff
20 lines
566 B
Diff
meta-clang passes this option to compiler defaults
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
Index: git/klcc/klcc.in
|
|
===================================================================
|
|
--- git.orig/klcc/klcc.in
|
|
+++ git/klcc/klcc.in
|
|
@@ -207,6 +207,9 @@ while ( defined($a = shift(@ARGV)) ) {
|
|
} elsif ( $a =~ /^--([sysroot=])(.*)$/ ) {
|
|
# Override gcc encoded sysroot
|
|
push(@ccopt, $a);
|
|
+ } elsif ( $a eq '-no-integrated-as' ) {
|
|
+ # Allow clang options
|
|
+ push(@ccopt, $a);
|
|
} else {
|
|
die "$0: unknown option: $a\n";
|
|
}
|