diff options
author | Alexandre Rames <alexandre.rames@linaro.org> | 2016-07-25 14:14:22 +0100 |
---|---|---|
committer | Alexandre Rames <alexandre.rames@linaro.org> | 2016-07-28 12:16:20 +0000 |
commit | dd35b95cf7bede7935861eb87bab60db572805c1 (patch) | |
tree | 9f54afe2fa6a7f8501282813d9637d7f9eda9aff /SConstruct | |
parent | 2b51dca2c1e5cb1f612335876092d4a9982ead68 (diff) | |
download | vixl-dd35b95cf7bede7935861eb87bab60db572805c1.tar.gz |
The `-Wno-maybe-uninitialized` option breaks compilation on OSX.
Tested with OSX 10.9.5.
Change-Id: I0073134eeb9146739b333e87b47511e36ca5dc82
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -236,12 +236,6 @@ def ConfigureEnvironmentForCompiler(env): if 'std' not in env or env['std'] == 'c++98': env.Append(CPPFLAGS = ['-Wno-c++11-long-long']) - # The generated macro assembler contains uninitialized variables and - # GCC cannot prove that they are always initialised, even though it - # should. - if env['mode'] == 'release' and is_compiler('g++'): - env.Append(CPPFLAGS = ['-Wno-maybe-uninitialized']) - def ConfigureEnvironment(env): RetrieveEnvironmentVariables(env) |