CVSROOT:        /cvs
Module name:    ports
Changes by:     k...@cvs.openbsd.org    2022/02/12 06:36:18

Modified files:
        emulators/openmsx: Makefile 
        emulators/openmsx/patches: patch-build_main_mk 

Log message:
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

Reply via email to