diff options
Diffstat (limited to 'sys/arch/sgi/conf/Makefile.sgi')
-rw-r--r-- | sys/arch/sgi/conf/Makefile.sgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/conf/Makefile.sgi b/sys/arch/sgi/conf/Makefile.sgi index ea750daabca..56bf7cf4d39 100644 --- a/sys/arch/sgi/conf/Makefile.sgi +++ b/sys/arch/sgi/conf/Makefile.sgi @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sgi,v 1.76 2016/11/15 09:08:38 natano Exp $ +# $OpenBSD: Makefile.sgi,v 1.77 2016/11/29 09:08:34 mpi Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -42,6 +42,7 @@ CMACHFLAGS+= -fno-builtin-printf -fno-builtin-snprintf \ CMACHFLAGS+= -fno-stack-protector .endif +DEBUG?= -g COPTS?= -O2 CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} AFLAGS= -D_LOCORE -x assembler-with-cpp ${CWARNFLAGS} ${CMACHFLAGS} @@ -82,7 +83,6 @@ SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_HEAD} vers.o $${OBJS}'; \ ${LD} ${LINKFLAGS} -o $@ ${SYSTEM_HEAD} vers.o ${OBJS} SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@ -DEBUG?= .if ${DEBUG} == "-g" STRIPFLAGS= -S SYSTEM_LD_TAIL+=; \ |