- add armv6-support.diff: Add support for armv6hl

OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=98
This commit is contained in:
Dirk Mueller 2014-01-03 19:26:35 +00:00 committed by Git OBS Bridge
parent 7999429db0
commit fd7ca92df0
3 changed files with 20 additions and 2 deletions

11
armv6-support.diff Normal file
View File

@ -0,0 +1,11 @@
--- configure.ac
+++ configure.ac
@@ -190,7 +190,7 @@
ARCH_MAX="s390x"
;;
- armv7*)
+ armv6*|armv7*)
AC_MSG_RESULT([ok (${host_cpu})])
ARCH_MAX="arm"
;;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 3 19:26:23 UTC 2014 - dmueller@suse.com
- add armv6-support.diff: Add support for armv6hl
-------------------------------------------------------------------
Wed Nov 6 19:43:17 UTC 2013 - burnus@net-b.de

View File

@ -1,7 +1,7 @@
#
# spec file for package valgrind
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -39,6 +39,7 @@ Source0: http://valgrind.org/downloads/%{name}-%{version}.tar.bz2
# svn di svn://svn.valgrind.org/valgrind/tags/VALGRIND_3_5_0 svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_5_BRANCH > 3_5_BRANCH.diff
# svn di svn://svn.valgrind.org/vex/tags/VEX_3_5_0 svn://svn.valgrind.org/vex/branches/VEX_3_5_BRANCH > VEX_3_5_BRANCH.diff
Patch1: jit-register-unregister.diff
Patch2: armv6-support.diff
# during building the major version of glibc is built into the suppression file
%define glibc_main_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f1)
%define glibc_major_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f2)
@ -49,7 +50,7 @@ Provides: valgrind-devel = %version
%endif
Provides: callgrind = %version
Obsoletes: callgrind < %version
ExclusiveArch: %ix86 x86_64 ppc ppc64 s390x armv7l armv7hl
ExclusiveArch: %ix86 x86_64 ppc ppc64 s390x armv7l armv7hl armv6l armv6hl
%if %suse_version > 1100
%define building_docs 1
%else
@ -136,6 +137,7 @@ Authors:
cd VEX
cd ..
%patch1
%patch2
%build
%ifarch %arm