]> xenbits.xensource.com Git - freebsd.git/commit
RISC-V: fix kernel CFLAGS with clang
authormhorne <mhorne@FreeBSD.org>
Sun, 8 Sep 2019 19:44:21 +0000 (19:44 +0000)
committermhorne <mhorne@FreeBSD.org>
Sun, 8 Sep 2019 19:44:21 +0000 (19:44 +0000)
commit1c6307c769dacadd07b972abe1e9f2f93d1e8da2
tree7cb8a495b80dada5a674a0ae51a864526704b462
parent1828e1c98f69d9e882e3cab0ec4e49f1d08831e0
RISC-V: fix kernel CFLAGS with clang

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.

Reviewed by: markj
Approved by: markj (mentor)
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D21436
sys/conf/kern.mk