mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
Add compiler build options for ARM hardfp
This commit is contained in:
parent
5362a9b552
commit
98be43ec03
1 changed files with 12 additions and 2 deletions
14
llvm.spec
14
llvm.spec
|
@ -36,7 +36,7 @@ ExcludeArch: s390 s390x ppc ppc64
|
|||
|
||||
Name: llvm
|
||||
Version: 3.0
|
||||
Release: 12%{?dist}
|
||||
Release: 13%{?dist}
|
||||
Summary: The Low Level Virtual Machine
|
||||
|
||||
Group: Development/Languages
|
||||
|
@ -278,6 +278,14 @@ sed -i 's|/lib /usr/lib $lt_ld_extra|%{_libdir} $lt_ld_extra|' \
|
|||
%endif
|
||||
%if 0%{?rhel} >= 7
|
||||
--enable-targets=host \
|
||||
%endif
|
||||
%ifarch armv7hl armv7l
|
||||
--with-cpu=cortex-a8 \
|
||||
--with-tune=cortex-a8 \
|
||||
--with-arch=armv7-a \
|
||||
--with-float=hard \
|
||||
--with-fpu=vfpv3-d16 \
|
||||
--with-abi=aapcs-linux \
|
||||
%endif
|
||||
--disable-assertions \
|
||||
--enable-debug-runtime \
|
||||
|
@ -298,7 +306,6 @@ make %{_smp_mflags} REQUIRES_RTTI=1 VERBOSE=1 \
|
|||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
# workaround for http://llvm.org/bugs/show_bug.cgi?id=11177
|
||||
%if %{with ocaml}
|
||||
cp -p bindings/ocaml/llvm/META.llvm bindings/ocaml/llvm/Release/
|
||||
|
@ -528,6 +535,9 @@ exit 0
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri May 25 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0-13
|
||||
- Add compiler build options for ARM hardfp
|
||||
|
||||
* Sun May 6 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0-12
|
||||
- Bump build
|
||||
|
||||
|
|
Loading…
Reference in a new issue