kn a5b2982ec2 Fix compiler detection to fix sparc64 build
> eg++: error: unrecognized command line option '-fconstexpr-steps=2000000'; did you mean '-fconstexpr-depth='?
> gmake: *** [build/main.mk:500: derived/sparc-openbsd-opt/obj/Autofire.cc.o] Error 1

main.mk looks at CXX to decide whether it is clang or gcc, which does
not work since we (always?) pass CXX=c++ which is then the usual symlink
in ${WRKDIR}/bin/ to CHOSEN_COMPILER.

Pass our choice and use that to decide.
Builds/packages fine on amd64 and sparc64.

Zap default python version while here.

OK sthen
2022-02-12 13:36:18 +00:00
..
2021-08-06 08:02:10 +00:00
2021-08-06 08:02:10 +00:00