From 965cda8a2183b2f02a9b5c5a973feb3f22a27f8b Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Sat, 8 Aug 2015 16:31:50 +0000 Subject: [PATCH] configure: explicitely set -march for armv6 and armv7 --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 0c44b94..2fe8d22 100755 --- a/configure +++ b/configure @@ -412,6 +412,11 @@ case $PLATFORM in ENVIRONMENT=64 ;; arm|armv6l|armv7l) + if test "$PLATFORM" = "armv6l"; then + CFLAGS="$CFLAGS -march=armv6"; + elif test "$PLATFORM" = "armv7l"; then + CFLAGS="$CFLAGS -march=armv7-a"; + fi RTM_ENABLE="CK_MD_RTM_DISABLE" MM="${MM:-"CK_MD_RMO"}" PLATFORM=arm