|
From: Lionel C. <lio...@gm...> - 2016-07-05 14:36:10
|
Why duplicate so much code when you could do: armv7*|arm) Also, arm* always overrides armv7*, so armv7 never gets a match. Lionel On 5 July 2016 at 08:20, Heinrich Schuchardt <xyp...@gm...> wrote: > Both Debian and OpenWRT may have value host_cpu="arm" for armhf > systems, cf. > > http://anonscm.debian.org/cgit/collab-maint/valgrind.git/tree/debian/patches/09_fix-armhf-detect.patch > > Signed-off-by: Heinrich Schuchardt <xyp...@gm...> > --- > configure.ac | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/configure.ac b/configure.ac > index dd4fcb9..ceb88ee 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -234,6 +234,11 @@ case "${host_cpu}" in > ARCH_MAX="s390x" > ;; > > + arm*) > + AC_MSG_RESULT([ok (${host_cpu})]) > + ARCH_MAX="arm" > + ;; > + > armv7*) > AC_MSG_RESULT([ok (${host_cpu})]) > ARCH_MAX="arm" > -- > 2.1.4 > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers -- Lionel |