Skip to content

Commit 8fbf732

Browse files
edymttshahmishal
authored andcommitted
20240723 Amazon Linux 2023: find the resource dir when using ...
...default triple instead of the vendor one. This matches the behaviour of clang and clang18 that ships as part of the distribution. Resolves swiftlang/swift#84363 (cherry picked from commit 20cf541) (cherry picked from commit 698b96d) (cherry picked from commit c9ce849)
1 parent 10999b6 commit 8fbf732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/ToolChains/Gnu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2464,7 +2464,7 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
24642464
static const char *const AArch64LibDirs[] = {"/lib64", "/lib"};
24652465
static const char *const AArch64Triples[] = {
24662466
"aarch64-none-linux-gnu", "aarch64-linux-gnu", "aarch64-redhat-linux",
2467-
"aarch64-suse-linux"};
2467+
"aarch64-suse-linux", "aarch64-amazon-linux"};
24682468
static const char *const AArch64beLibDirs[] = {"/lib"};
24692469
static const char *const AArch64beTriples[] = {"aarch64_be-none-linux-gnu"};
24702470

0 commit comments

Comments
 (0)