Skip to content

Instantly share code, notes, and snippets.

@andys
Created March 8, 2011 23:13
Show Gist options
  • Select an option

  • Save andys/861329 to your computer and use it in GitHub Desktop.

Select an option

Save andys/861329 to your computer and use it in GitHub Desktop.

Revisions

  1. andys created this gist Mar 8, 2011.
    6 changes: 6 additions & 0 deletions gistfile1.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    vars = Variables()
    vars.Add(BoolVariable('DEBUG', 'Set to disable optimizations', 1))
    vars.Add(BoolVariable('PIC', 'Set to 1 for to always generate PIC code', 0))
    env = Environment(variables = vars)

    debug = env['DEBUG']