Page MenuHomeFreeBSD

RISC-V: fix kernel CFLAGS with clang
ClosedPublic

Authored by mhorne on Aug 27 2019, 2:02 PM.
Tags
None
Referenced Files
F103189377: D21436.id61351.diff
Fri, Nov 22, 1:37 AM
Unknown Object (File)
Tue, Nov 12, 3:44 PM
Unknown Object (File)
Tue, Oct 29, 4:56 AM
Unknown Object (File)
Oct 5 2024, 12:55 AM
Unknown Object (File)
Sep 30 2024, 9:31 AM
Unknown Object (File)
Sep 27 2024, 2:53 PM
Unknown Object (File)
Sep 24 2024, 5:52 PM
Unknown Object (File)
Sep 24 2024, 8:47 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable