HomeFreeBSD

Mk/Uses/vala.mk: fix when COMPILER_TYPE=gcc

Description

Mk/Uses/vala.mk: fix when COMPILER_TYPE=gcc

gcc does not support -Wno-error=incompatible-function-pointer-types.
Only enable the warning for clang to fix various ports that fail to
build with error messages like

cc1: error: '-Wno-error=incompatible-function-pointer-types': no
option '-Wincompatible-function-pointer-types'; did you mean
'-Wincompatible-pointer-types'?

MFH: 2023Q4
(cherry picked from commit 4d0ab9e20997630f4ad6306c2fd12efb710ab2ac)

Details

Provenance
fuzAuthored on Oct 18 2023, 1:00 AM
Parents
R11:de62baaf3015: games/moonlight-embedded: update to 2.6.1
Branches
Unknown
Tags
Unknown