mirror of
https://github.com/opnsense/src.git
synced 2026-03-01 04:40:53 -05:00
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
5 lines
61 B
Makefile
5 lines
61 B
Makefile
# $FreeBSD$
|
|
|
|
LDFLAGS+= -nostdlib
|
|
|
|
.include "../Makefile.inc"
|