diff options
| author | Khem Raj <raj.khem@gmail.com> | 2019-03-12 13:11:14 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-03-14 07:24:03 -0700 |
| commit | 9d8943fd2ec43868a1ca76712fd15dcc144f75ff (patch) | |
| tree | 68909cd0d6afcafc83f952785e9dc7fea90c164e /meta-initramfs/recipes-devtools/klibc/files/klcc-cross-accept-clang-options.patch | |
| parent | 0597e79805b0e7d51c292b3767f3b8d097daf8de (diff) | |
| download | meta-openembedded-9d8943fd2ec43868a1ca76712fd15dcc144f75ff.tar.gz | |
klibc: Upgrade to 2.0.6 release
Drop staging related patches which are not needed anymore
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/files/klcc-cross-accept-clang-options.patch')
| -rw-r--r-- | meta-initramfs/recipes-devtools/klibc/files/klcc-cross-accept-clang-options.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/files/klcc-cross-accept-clang-options.patch b/meta-initramfs/recipes-devtools/klibc/files/klcc-cross-accept-clang-options.patch new file mode 100644 index 0000000000..07703aa536 --- /dev/null +++ b/meta-initramfs/recipes-devtools/klibc/files/klcc-cross-accept-clang-options.patch | |||
| @@ -0,0 +1,19 @@ | |||
| 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 | } | ||
