aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/klibc/files/klcc-cross-accept-clang-options.patch
blob: 07703aa536741e7311703326b0662d88b18dac3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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";
     }