From 8b77770a89d749479bc58b01eef070508e4a3c21 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Tue, 22 Sep 2015 12:23:14 -0700 Subject: Add the right configure options for armv8l. Change-Id: I620ed14b671c8756131c9c34e49056816a9ecf08 --- config/gcc.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/gcc.conf b/config/gcc.conf index 19c44ca8..9ebfdb46 100644 --- a/config/gcc.conf +++ b/config/gcc.conf @@ -69,6 +69,12 @@ if test x"${build}" != x"${target}"; then # Add platform specific flags case ${target} in + armv8l-*linux-gnueabihf) + if test x"${override_arch}" = x -a x"${override_cpu}" = x; then + default_configure_flags="${default_configure_flags} --with-arch=armv8-a" + fi + default_configure_flags="${default_configure_flags} --with-fpu=neon-fp-armv8 --with-float=hard --disable-multilib --enable-multiarch" + ;; arm-*linux-gnueabi) if test x"${override_cpu}" = x -a x"${override_tune}" = x; then default_configure_flags="${default_configure_flags} --with-tune=cortex-a9" -- cgit v1.2.3