aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2015-09-22 12:23:14 -0700
committerRob Savoye <rob.savoye@linaro.org>2015-09-22 12:23:14 -0700
commit8b77770a89d749479bc58b01eef070508e4a3c21 (patch)
treedb81cfbf478f5397f6db3b0fea4d98fab14f9987
parent3f91a864a22853f1eff3d6500ca40a817e68e38f (diff)
Add the right configure options for armv8l.
Change-Id: I620ed14b671c8756131c9c34e49056816a9ecf08
-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"