aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2016-10-23 21:24:24 +0100
committerRenato Golin <renato.golin@linaro.org>2016-10-23 21:24:24 +0100
commit0360ac24913f7654623d3a0b441f625afdbbd9f7 (patch)
tree9de568ba2488fe5d93cb5098fc5c5ea0a7948c89
parent119f405e3c9355119f67e19b9b86ee939b70e10c (diff)
downloadlinaro-scripts-0360ac24913f7654623d3a0b441f625afdbbd9f7.tar.gz
[cron] force arch to v7ve, which is v7a+virt aka A15, to avoid bad gcc driver choices
Change-Id: I449e8810c227129335f273acee8f89cd8174424f
-rwxr-xr-xhelpers/llvm-cron-build8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/llvm-cron-build b/helpers/llvm-cron-build
index 4751946..114c1ae 100755
--- a/helpers/llvm-cron-build
+++ b/helpers/llvm-cron-build
@@ -57,12 +57,12 @@ fi
# Update compiler flags
case $1 in
arm)
- CFLAGS="$CFLAGS -mcpu=cortex-a15 -marm"
- CXXFLAGS="$CXXFLAGS -mcpu=cortex-a15 -marm"
+ CFLAGS="$CFLAGS -march=armv7ve -mcpu=cortex-a15 -marm"
+ CXXFLAGS="$CXXFLAGS -march=armv7ve -mcpu=cortex-a15 -marm"
;;
thumb)
- CFLAGS="$CFLAGS -mcpu=cortex-a15 -mthumb"
- CXXFLAGS="$CXXFLAGS -mcpu=cortex-a15 -mthumb"
+ CFLAGS="$CFLAGS -march=armv7ve -mcpu=cortex-a15 -mthumb"
+ CXXFLAGS="$CXXFLAGS -march=armv7ve -mcpu=cortex-a15 -mthumb"
;;
*)
;;