Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Force -mfpu=vfpv3-d16 compiler option for armv7tnhl builds.
Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
  • Loading branch information
kaltsi committed Mar 14, 2013
1 parent a6fd7f2 commit 0ca4c1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions glibc.changes
@@ -1,3 +1,6 @@
* Thu Mar 14 2013 Juha Kallioinen <juha.kallioinen@jollamobile.com> - 2.15
- Force -mfpu=vfpv3-d16 for armv7tnhl

* Sat Jan 26 2013 Oleg Girko <ol+mer@infoserver.ru> - 2.15
- Disable multilib for 64-bit architectures.

Expand Down
5 changes: 5 additions & 0 deletions glibc.spec
Expand Up @@ -238,6 +238,11 @@ AddOns=`echo */configure | sed -e 's!/configure!!g;s!\(linuxthreads\|nptl\|rtkai
AddOns=,ports$AddOns
%endif

%ifarch armv7tnhl
# workaround for a potential compiler bug using -mfpu=neon (gcc 4.6 2013.01)
BuildFlags="$BuildFlags -mfpu=vfpv3-d16"
%endif

build_nptl()
{
builddir=build-%{nptl_target_cpu}-$1
Expand Down

0 comments on commit 0ca4c1d

Please sign in to comment.