sanitize gccgo environment