Revert previous, we'll need something better (and compatible with Clang).
This commit is contained in:
parent
679b615db6
commit
9cfc8ac233
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.amd64,v 1.65 2018/02/23 09:00:56 maxv Exp $
|
||||
# $NetBSD: Makefile.amd64,v 1.66 2018/02/23 14:16:52 maxv Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
|
@ -35,7 +35,7 @@ GENASSYM_CONF= ${AMD64}/amd64/genassym.cf
|
|||
##
|
||||
DEFCOPTS= -O2 -fno-omit-frame-pointer
|
||||
CPPFLAGS+= -Damd64 -Dx86_64
|
||||
CFLAGS+= -mcmodel=kernel -fno-shrink-wrap
|
||||
CFLAGS+= -mcmodel=kernel
|
||||
# -mno-sse implies -mno-sse2 (etc), explicitly disable avx to be extra sure
|
||||
CFLAGS+= -mno-red-zone -mno-mmx -mno-sse -mno-avx
|
||||
# make absolutely sure we don't get x87 registers used as well
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.i386,v 1.188 2018/02/23 09:00:55 maxv Exp $
|
||||
# $NetBSD: Makefile.i386,v 1.189 2018/02/23 14:16:52 maxv Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
|
@ -35,7 +35,7 @@ GENASSYM_CONF= ${I386}/i386/genassym.cf
|
|||
##
|
||||
DEFCOPTS= -O2 -fno-omit-frame-pointer
|
||||
CPPFLAGS+= -Di386
|
||||
CFLAGS+= -msoft-float -fno-shrink-wrap
|
||||
CFLAGS+= -msoft-float
|
||||
## no-sse implies no-sse2 but not no-avx
|
||||
CFLAGS+= -mno-mmx -mno-sse -mno-avx
|
||||
|
||||
|
|
Loading…
Reference in New Issue