HomeFreeBSD

graphics/mesa-devel: Disable "-mtls-dialect=gnu2" when built with clang 19

Description

graphics/mesa-devel: Disable "-mtls-dialect=gnu2" when built with clang 19

Clang 19 now supports "-mtls-dialect=gnu2" but it does not work for us.
Originally, I tried to use "-ftls-model=initial-exec" but it caused
regressions. Disable the optimization for now until we have a proper
implementation.

Approved by: jbeich (maintainer)
PR: 282322

Details

Provenance
jkimAuthored on Nov 1 2024, 6:12 PM
Parents
R11:13d55b0eaa13: graphics/mesa-dri: fix build with clang 19
Branches
Unknown
Tags
Unknown