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)
Sat, Jul 25, 5:37 PM
Unknown Object (File)
Wed, Jul 22, 9:56 PM
Unknown Object (File)
Mon, Jul 13, 11:48 AM
Unknown Object (File)
Wed, Jul 8, 8:54 AM
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
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