diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2017-04-15 18:58:46 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2017-04-15 18:58:46 +0000 |
commit | 26b254c08bafb4ba2eb77c23a1418dc792e973c2 (patch) | |
tree | e104177a05dd498321c8bd54b72b65809df00bfe /sys | |
parent | 2f9b31d5b9534194261f67d9eca09194395b15de (diff) |
Build sparc64 kernels with -ffreestanding.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/conf/Makefile.sparc64 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64 index 5663470996a..28ffda763f2 100644 --- a/sys/arch/sparc64/conf/Makefile.sparc64 +++ b/sys/arch/sparc64/conf/Makefile.sparc64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sparc64,v 1.80 2016/11/29 09:08:34 mpi Exp $ +# $OpenBSD: Makefile.sparc64,v 1.81 2017/04/15 18:58:45 kettenis Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -24,13 +24,11 @@ _archdir?= $S/arch/${_arch} INCLUDES= -nostdinc -I$S -I${.OBJDIR} -I$S/arch CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -MD -MP CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \ - -Wno-main -Wno-uninitialized -Wno-pointer-sign \ + -Wno-uninitialized -Wno-pointer-sign \ -Wframe-larger-than=2047 CMACHFLAGS= -Wa,-Av9b, -mno-fpu -CMACHFLAGS+= -fno-builtin-printf -fno-builtin-snprintf \ - -fno-builtin-vsnprintf -fno-builtin-log \ - -fno-builtin-log2 -fno-builtin-malloc ${NOPIE_FLAGS} +CMACHFLAGS+= -ffreestanding ${NOPIE_FLAGS} .if ${IDENT:M-DNO_PROPOLICE} CMACHFLAGS+= -fno-stack-protector .endif |