diff options
Diffstat (limited to 'sys/arch/loongson/conf')
-rw-r--r-- | sys/arch/loongson/conf/Makefile.loongson | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/loongson/conf/Makefile.loongson b/sys/arch/loongson/conf/Makefile.loongson index 77556ad90ac..5091dfc315a 100644 --- a/sys/arch/loongson/conf/Makefile.loongson +++ b/sys/arch/loongson/conf/Makefile.loongson @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.loongson,v 1.53 2016/11/29 09:08:34 mpi Exp $ +# $OpenBSD: Makefile.loongson,v 1.54 2017/03/18 17:31:31 visa Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -31,13 +31,11 @@ _archdir?= $S/arch/${_arch} INCLUDES= -nostdinc -I$S -I${.OBJDIR} -I$S/arch CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D__${_mach}__ -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= -mno-abicalls ${ABI} -msoft-float -Wa,-mfix-loongson2f-btb -G 0 -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 |