configure: explicitely set -march for armv6 and armv7

ck_pring
Olivier Houchard 9 years ago
parent b002ed5f11
commit 965cda8a21

5
configure vendored

@ -412,6 +412,11 @@ case $PLATFORM in
ENVIRONMENT=64 ENVIRONMENT=64
;; ;;
arm|armv6l|armv7l) 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" RTM_ENABLE="CK_MD_RTM_DISABLE"
MM="${MM:-"CK_MD_RMO"}" MM="${MM:-"CK_MD_RMO"}"
PLATFORM=arm PLATFORM=arm

Loading…
Cancel
Save