Skip to content
Snippets Groups Projects
Commit 625e0e2f authored by whh8b's avatar whh8b
Browse files

Fix scons files to use -DCGC flags correctly.

parent a7521729
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ myenv.Replace(ZIPR_SDK=os.environ['ZIPR_SDK'])
myenv.Replace(ZIPR_INSTALL=os.environ['ZIPR_INSTALL'])
myenv.Replace(do_cgc=ARGUMENTS.get("do_cgc",0))
if 'do_cgc' in env and int(env['do_cgc']) == 1:
if 'do_cgc' in myenv and int(myenv['do_cgc']) == 1:
myenv.Append(CFLAGS=" -DCGC ")
myenv.Append(CCFLAGS=" -DCGC ")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment