unable to cross compile xcompmgr to arm64
i am trying to port xcompmgr onto arm 64 (aarch64), even though i set cross compiler toolchain environment variables such as CC, CFLAGS to pint to arm tool chain, it is always compiling for gcc(that is for x86_64). please help