Allow MIPS lib32 to build with clang.
authorjhb <jhb@FreeBSD.org>
Thu, 11 Jan 2018 19:24:44 +0000 (19:24 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 11 Jan 2018 19:24:44 +0000 (19:24 +0000)
commit88493cde9d086475f2ffb3f9a98b04477ca4ca4e
tree48d9847c781a3a90b696b8acc46b6791779918c4
parent3ba4847ec62ec282456bb1bf63d5b727b632f258
Allow MIPS lib32 to build with clang.

Don't try to set -march as clang doesn't permit use of the O32 ABI
with newer CPU microarchitectures like 'mips3'.  In addition, clang
doesn't permit the O32 ABI with the default N64 target, so use an
explicit O32 -target for clang.

Sponsored by: DARPA / AFRL
Makefile.libcompat