mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
add a hack to clang defaulting arm to hardfloat
This commit is contained in:
parent
bd03f325e1
commit
c9608480ef
2 changed files with 19 additions and 1 deletions
13
clang-hardfloat-hack.patch
Normal file
13
clang-hardfloat-hack.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- llvm-3.2.src.orig/tools/clang/lib/Driver/Tools.cpp 2012-11-21 01:56:23.000000000 -0600
|
||||||
|
+++ llvm-3.2.src/tools/clang/lib/Driver/Tools.cpp 2013-03-31 21:08:41.890206683 -0500
|
||||||
|
@@ -688,8 +688,8 @@
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
// Assume "soft", but warn the user we are guessing.
|
||||||
|
- FloatABI = "soft";
|
||||||
|
- D.Diag(diag::warn_drv_assuming_mfloat_abi_is) << "soft";
|
||||||
|
+ FloatABI = "hard";
|
||||||
|
+ D.Diag(diag::warn_drv_assuming_mfloat_abi_is) << "hard";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
Name: llvm
|
Name: llvm
|
||||||
Version: 3.2
|
Version: 3.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
@ -51,6 +51,7 @@ Source3: llvm-Config-llvm-config.h
|
||||||
Patch0: llvm-2.6-timestamp.patch
|
Patch0: llvm-2.6-timestamp.patch
|
||||||
|
|
||||||
Patch10: llvm-3.2-clang-driver-secondary-arch-triplets.patch
|
Patch10: llvm-3.2-clang-driver-secondary-arch-triplets.patch
|
||||||
|
Patch11: clang-hardfloat-hack.patch
|
||||||
|
|
||||||
# hack llvm-config to print -lLLVM-3.2svn instead of ALL THE THINGS
|
# hack llvm-config to print -lLLVM-3.2svn instead of ALL THE THINGS
|
||||||
#
|
#
|
||||||
|
@ -277,6 +278,7 @@ mv clang-%{version}%{?prerel}.src tools/clang
|
||||||
|
|
||||||
# clang triplets
|
# clang triplets
|
||||||
%patch10 -p1 -b .orig
|
%patch10 -p1 -b .orig
|
||||||
|
%patch11 -p1 -b .orig
|
||||||
|
|
||||||
# fix llvm-config --libs
|
# fix llvm-config --libs
|
||||||
#patch20 -p1 -b .orig
|
#patch20 -p1 -b .orig
|
||||||
|
@ -574,6 +576,9 @@ exit 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Mar 31 2013 Dennis Gilmore <dennis@ausil.us> - 3.2-3
|
||||||
|
- add a hack to clang defaulting arm to hardfloat
|
||||||
|
|
||||||
* Fri Mar 08 2013 Adam Jackson <ajax@redhat.com> 3.2-2
|
* Fri Mar 08 2013 Adam Jackson <ajax@redhat.com> 3.2-2
|
||||||
- Update R600 patches
|
- Update R600 patches
|
||||||
- Move static libs to -static subpackage
|
- Move static libs to -static subpackage
|
||||||
|
|
Loading…
Reference in a new issue