mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-09 11:08:55 +00:00
klibc: Recognise --dyld-prefix clang option
This is added when usrmerge is enabled in distro Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 6a52b84dbc41c8c831e5ce82b21900210ef1a8c4) Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
99bf170423
commit
ecaa905714
@ -5,7 +5,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|||||||
|
|
||||||
--- a/klcc/klcc.in
|
--- a/klcc/klcc.in
|
||||||
+++ b/klcc/klcc.in
|
+++ b/klcc/klcc.in
|
||||||
@@ -207,6 +207,27 @@ while ( defined($a = shift(@ARGV)) ) {
|
@@ -207,6 +207,30 @@ while ( defined($a = shift(@ARGV)) ) {
|
||||||
} elsif ( $a =~ /^--([sysroot=])(.*)$/ ) {
|
} elsif ( $a =~ /^--([sysroot=])(.*)$/ ) {
|
||||||
# Override gcc encoded sysroot
|
# Override gcc encoded sysroot
|
||||||
push(@ccopt, $a);
|
push(@ccopt, $a);
|
||||||
@ -29,6 +29,9 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|||||||
+ push(@ccopt, $a);
|
+ push(@ccopt, $a);
|
||||||
+ } elsif ( $a =~ '-rtlib=.*' ) {
|
+ } elsif ( $a =~ '-rtlib=.*' ) {
|
||||||
+ # Allow clang options
|
+ # Allow clang options
|
||||||
|
+ push(@ccopt, $a);
|
||||||
|
+ } elsif ( $a =~ '--dyld-prefix=.*' ) {
|
||||||
|
+ # Allow clang options
|
||||||
+ push(@ccopt, $a);
|
+ push(@ccopt, $a);
|
||||||
} else {
|
} else {
|
||||||
die "$0: unknown option: $a\n";
|
die "$0: unknown option: $a\n";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user