diff options
Diffstat (limited to 'sys/arch/i386/conf/Makefile.i386')
-rw-r--r-- | sys/arch/i386/conf/Makefile.i386 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386 index 00e00a348af..d8ab48f8660 100644 --- a/sys/arch/i386/conf/Makefile.i386 +++ b/sys/arch/i386/conf/Makefile.i386 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.i386,v 1.139 2020/08/17 17:23:59 deraadt Exp $ +# $OpenBSD: Makefile.i386,v 1.140 2021/01/28 17:39:03 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector .endif .if ${IDENT:M-DSMALL_KERNEL} SORTR= cat -COPTS?= -Oz -mno-retpoline +COPTIMIZE?= -Oz -mno-retpoline .elif ${COMPILER_VERSION:Mclang} CMACHFLAGS+= -mretpoline .endif @@ -48,8 +48,8 @@ CWARNFLAGS+= -Wno-address-of-packed-member -Wno-constant-conversion .endif DEBUG?= -g -COPTS?= -O2 -CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} +COPTIMIZE?= -O2 +CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTIMIZE} ${COPTS} ${PIPE} AFLAGS= -D_LOCORE -x assembler-with-cpp ${CWARNFLAGS} ${CMACHFLAGS} LINKFLAGS= -T ld.script -X --warn-common -nopie |