added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,38 @@
meta-clang passes this option to compiler defaults
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/klcc/klcc.in
+++ b/klcc/klcc.in
@@ -207,6 +207,30 @@ while ( defined($a = shift(@ARGV)) ) {
} elsif ( $a =~ /^--([sysroot=])(.*)$/ ) {
# Override gcc encoded sysroot
push(@ccopt, $a);
+ } elsif ( $a eq '-nostartfiles' ) {
+ # Allow clang options
+ push(@ccopt, $a);
+ } elsif ( $a eq '-nostdlib' ) {
+ # Allow clang options
+ push(@ccopt, $a);
+ } elsif ( $a eq '-nodefaultlibs' ) {
+ # Allow clang options
+ push(@ccopt, $a);
+ } elsif ( $a eq '-no-pie' ) {
+ # Allow clang options
+ push(@ccopt, $a);
+ } elsif ( $a eq '-no-integrated-as' ) {
+ # Allow clang options
+ push(@ccopt, $a);
+ } elsif ( $a =~ '--unwindlib=.*' ) {
+ # Allow clang options
+ push(@ccopt, $a);
+ } elsif ( $a =~ '-rtlib=.*' ) {
+ # Allow clang options
+ push(@ccopt, $a);
+ } elsif ( $a =~ '--dyld-prefix=.*' ) {
+ # Allow clang options
+ push(@ccopt, $a);
} else {
die "$0: unknown option: $a\n";
}