support other arch rather than x86, remove x86 spcified arguments for gcc toolchain