summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-04-15 20:30:50 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-04-15 20:30:50 +0300
commitd177af163995c8663991e000f129327cb4dc2505 (patch)
treeb7144083291bbc876e2e77d6bb480ed20780a80e /tests
parent3b36235cef2c1c5f3c79a33cb765de2ec1a2d01e (diff)
Fix typos in scons command line options
Diffstat (limited to 'tests')
-rw-r--r--tests/SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/SConstruct b/tests/SConstruct
index b411b48e..7a278443 100644
--- a/tests/SConstruct
+++ b/tests/SConstruct
@@ -19,8 +19,8 @@ env = Environment(ENV = os.environ, tools = ['default', 'nanopb'])
# Allow overriding the compiler with scons CC=???
if 'CC' in ARGUMENTS: env.Replace(CC = ARGUMENTS['CC'])
if 'CXX' in ARGUMENTS: env.Replace(CXX = ARGUMENTS['CXX'])
-if 'CFLAGS' in ARGUMENTS: env.Append(CCFLAGS = ARGUMENTS['CFLAGS'])
-if 'CXXFLAGS' in ARGUMENTS: env.Append(CCFLAGS = ARGUMENTS['CXXFLAGS'])
+if 'CCFLAGS' in ARGUMENTS: env.Append(CCFLAGS = ARGUMENTS['CCFLAGS'])
+if 'CXXFLAGS' in ARGUMENTS: env.Append(CXXFLAGS = ARGUMENTS['CXXFLAGS'])
# Add the builders defined in site_init.py
add_nanopb_builders(env)