How to change the default cross compiler version (CC)

Hi everyone, currently, when I type make, the screen show that it was using gcc-5 to compile. I have a question
If i want to use x86_64-linux-gnu-gcc instead of gcc-5, How should I do? Help me, please.:confounded:

Thank you very much. :grinning:

rm -r tmp/; CC=x86_64-linux-gnu-gcc make

1 Like