CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected]    2023/11/10 09:47:17

Modified files:
        infrastructure/mk: bsd.port.mk 

Log message:
Add support for CFLAGS_${CHOSEN_COMPILER} and CXXFLAGS_${CHOSEN_COMPILER}

This helps defining compiler-specific C(XX)FLAGS in a single line,
avoiding hacks like testing the value of ${CHOSEN_COMPILER} after
including bsd.port.mk.  As noted by tb@, this idiom is already used in
multimedia/mkvtoolnix.

Example usage: CFLAGS_base-clang = -Wno-useless-warning

ok tb@ on a previous version, tweaks from espie@

Reply via email to