ia64 compiler bug workaround: reduce -O to 1 for one file

This commit is contained in:
martin 2012-12-27 08:06:28 +00:00
parent 4ec32c022e
commit 1a11e4f1b1

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2009/12/19 09:01:32 thorpej Exp $
# $NetBSD: Makefile,v 1.3 2012/12/27 08:06:28 martin Exp $
.include <bsd.init.mk>
@ -49,6 +49,10 @@ LIBELF_GENSRCS= libelf_fsize.c libelf_msize.c libelf_convert.c
CLEANFILES+= ${LIBELF_GENSRCS}
CPPFLAGS+= -I${.CURDIR}
.if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "ia64"
COPTS.libelf_extended.c+= ${${ACTIVE_CC} == "gcc" :? -O1 :}
.endif
MAN= elf.3 \
elf_begin.3 \
elf_cntl.3 \