add ARCHFLAGS and EDITOR env vars