HomeFreeBSD

Support compiling lib/libclang_rt/profile with gcc

Description

Support compiling lib/libclang_rt/profile with gcc

Several of the flags were being treated as CFLAGS, when they were actually
technically CXXFLAGS. Move them there.

Also, only apply -fno-sanitize=safe-stack with clang.

This is a draft diff.

PR: 223179

Details

Provenance
ngieAuthored on
Parents
rS324893: Handle host builds
Branches
Unknown
Tags
Unknown