Page MenuHomeFreeBSD

RISC-V: fix kernel CFLAGS with clang
ClosedPublic

Authored by mhorne on Aug 27 2019, 2:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 28 2026, 10:35 AM
Unknown Object (File)
Apr 27 2026, 2:33 PM
Unknown Object (File)
Apr 23 2026, 11:57 AM
Unknown Object (File)
Apr 23 2026, 4:35 AM
Unknown Object (File)
Apr 23 2026, 12:06 AM
Unknown Object (File)
Apr 21 2026, 2:18 AM
Unknown Object (File)
Apr 15 2026, 1:55 AM
Unknown Object (File)
Apr 10 2026, 12:53 AM
Subscribers

Details

Summary

Use the -march and -mabi flags for both gcc and clang as they are
compatible. Specify the "medium" code model separately as it goes by the
name "medany" under gcc, although they are equivalent.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26135
Build 24652: arc lint + arc unit