Skip to content

Instantly share code, notes, and snippets.

@andys
Created March 8, 2011 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andys/861329 to your computer and use it in GitHub Desktop.
Save andys/861329 to your computer and use it in GitHub Desktop.
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']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment