diff options
author | Jacob Bramley <jacob.bramley@arm.com> | 2016-11-09 14:44:39 +0000 |
---|---|---|
committer | Jacob Bramley <jacob.bramley@arm.com> | 2016-11-09 14:45:03 +0000 |
commit | 176a379a2443f3db1bc696cfd25d62725b4eced1 (patch) | |
tree | 55de4beb67ab9e5735007005eb6b945c5d09d371 /SConstruct | |
parent | 4e6b4af20e5664c43ca1717b4fa7d6fb4cb3667c (diff) | |
download | vixl-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-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |