import os env = Environment() env.Append(CCFLAGS = os.environ['CCFLAGS']) env.Program('hello.c')