mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-12-01 03:32:55 +00:00
Fix default triple on arm
clang and gcc disagree about what gnueabi means, so we need to make sure to specify gnueabihf as the environment.
This commit is contained in:
parent
84398d5b48
commit
e1056b533a
1 changed files with 6 additions and 3 deletions
|
@ -55,16 +55,16 @@
|
||||||
%global _dwz_max_die_limit_s390x 1000000
|
%global _dwz_max_die_limit_s390x 1000000
|
||||||
|
|
||||||
%ifarch %{arm}
|
%ifarch %{arm}
|
||||||
# koji overrides the _host variable to armv7hl which does not match gcc, so
|
# koji overrides the _gnu variable to be gnu, which is not correct for clang, so
|
||||||
# we need to hard-code the correct triple here.
|
# we need to hard-code the correct triple here.
|
||||||
%global llvm_triple armv7hl-redhat-linux-gnueabi
|
%global llvm_triple armv7l-redhat-linux-gnueabihf
|
||||||
%else
|
%else
|
||||||
%global llvm_triple %{_host}
|
%global llvm_triple %{_host}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
|
@ -545,6 +545,9 @@ fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 08 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-4
|
||||||
|
- Fix default triple on arm
|
||||||
|
|
||||||
* Wed Oct 06 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-3
|
* Wed Oct 06 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-3
|
||||||
- Set default triple
|
- Set default triple
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue