aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2016-12-16 16:53:47 +0200
committerDiana Picus <diana.picus@linaro.org>2016-12-16 17:59:30 +0200
commit49270f3a4da5f96627eb725b2d6ea4f45cbff13c (patch)
tree4f38d44f91c175e019649d42c5e928f28c4ca3bc
parent4d98a3afc159a09559bc85b822302c1fede5ed25 (diff)
Add -Wall to all builds
This is kind of a no-brainer and we should've done it long ago. Release builds are reasonably clean with clang. Change-Id: I7929c3b5455245113e8068ea61bcfe1f9616c893
-rwxr-xr-xhelpers/llvm-build3
1 files changed, 2 insertions, 1 deletions
diff --git a/helpers/llvm-build b/helpers/llvm-build
index 3f81e0a..f638c75 100755
--- a/helpers/llvm-build
+++ b/helpers/llvm-build
@@ -88,7 +88,8 @@ if [ ! -f build.ninja ] && [ ! -f Makefile ]; then
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DCMAKE_INSTALL_PREFIX=$install_dir \
-DLLVM_LIT_ARGS="-sv $PARALLEL" \
- $LLVM_CMAKE_FLAGS $targets $shared $link_jobs $dwarf
+ -DCMAKE_CXX_FLAGS="-Wall" \
+ $targets $shared $link_jobs $dwarf $LLVM_CMAKE_FLAGS
fi
## Build