Skip to content

Commit 698b96d

Browse files
committed
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)
1 parent 68128bc commit 698b96d

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)