aboutsummaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJacob Bramley <jacob.bramley@arm.com>2016-11-09 14:44:39 +0000
committerJacob Bramley <jacob.bramley@arm.com>2016-11-09 14:45:03 +0000
commit176a379a2443f3db1bc696cfd25d62725b4eced1 (patch)
tree55de4beb67ab9e5735007005eb6b945c5d09d371 /SConstruct
parent4e6b4af20e5664c43ca1717b4fa7d6fb4cb3667c (diff)
downloadvixl-176a379a2443f3db1bc696cfd25d62725b4eced1.tar.gz
Fix application of -Wunreachable-code.
This fixes a clean-up in f737e0a. The code now matches the comment. Change-Id: I488fd98efa0fd4b87a1d0f48656259ac6f6907a7
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 216389f4..758f7aec 100644
--- a/SConstruct
+++ b/SConstruct
@@ -255,7 +255,7 @@ def ConfigureEnvironmentForCompiler(env):
env.Append(CPPFLAGS = ['-Wimplicit-fallthrough', '-Wshorten-64-to-32'])
# The '-Wunreachable-code' flag breaks builds for clang 3.4.
- if compiler == 'clang-3.4':
+ if compiler != 'clang-3.4':
env.Append(CPPFLAGS = ['-Wunreachable-code'])
# GCC 4.8 has a bug which produces a warning saying that an anonymous Operand