aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/gcc.conf6
1 files changed, 6 insertions, 0 deletions
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"