aboutsummaryrefslogtreecommitdiffstats
path: root/tests/anonymous_oneof/SConscript
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-11-14 22:37:54 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-11-14 22:37:54 +0200
commitc201f368c592508e8f2289c3f0f19e681db153a3 (patch)
tree949edfbc2b60e4ce50b9cf90a48e67be2d66a58a /tests/anonymous_oneof/SConscript
parentc1aa8aa980daea732c4683c2593d130d6bee7a79 (diff)
Fix -Wno-pedantic on old GCC
Diffstat (limited to 'tests/anonymous_oneof/SConscript')
-rw-r--r--tests/anonymous_oneof/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/anonymous_oneof/SConscript b/tests/anonymous_oneof/SConscript
index 8f634bd7..051c772f 100644
--- a/tests/anonymous_oneof/SConscript
+++ b/tests/anonymous_oneof/SConscript
@@ -16,7 +16,7 @@ if env.GetOption('clean') or (match and (version[0] > 2 or (version[0] == 2 and
# Anonymous oneofs are supported by clang and gcc
if 'clang' in env['CC'] or 'gcc' in env['CC']:
env2 = env.Clone()
- env2.Append(CFLAGS = "-Wno-pedantic")
+ env2['CFLAGS'].remove('-pedantic')
env2.NanopbProto('oneof')
dec = env2.Program(['decode_oneof.c',