ccflag impl

a flag is in fact a global variable with a default value.