HomeFreeBSD

Move some more common stuff up to Makefile.inc. In particular, the no

Description

Move some more common stuff up to Makefile.inc. In particular, the no
simd / no float stuff is centeralized here. Also centralise
-ffreestanding since it is specified everywhere.

This, along with a change to share/mk/bsd.cpu.mk to include -mno-avx2
in CFLAGS_NO_SIMD should fix building for newer machines (eg with
CPUTYPE=haswell) where clang was generating avx2 instructions.

Sponsored by: Netflix

Details

Provenance
impAuthored on
Parents
rS326037: Add -mno-avx2 for clang as well as -mno-avx. We don't want either of
Branches
Unknown
Tags
Unknown