CVS commit: src/external/bsd/libelf/lib

2012-12-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Dec 27 08:06:28 UTC 2012

Modified Files:
src/external/bsd/libelf/lib: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libelf/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/libelf/lib/Makefile
diff -u src/external/bsd/libelf/lib/Makefile:1.2 src/external/bsd/libelf/lib/Makefile:1.3
--- src/external/bsd/libelf/lib/Makefile:1.2	Sat Dec 19 09:01:32 2009
+++ src/external/bsd/libelf/lib/Makefile	Thu Dec 27 08:06:28 2012
@@ -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_ms
 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		\



CVS commit: src/external/bsd/libelf/lib

2009-12-19 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Dec 19 09:01:32 UTC 2009

Modified Files:
src/external/bsd/libelf/lib: Makefile

Log Message:
Fix a typo.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/libelf/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/libelf/lib/Makefile
diff -u src/external/bsd/libelf/lib/Makefile:1.1 src/external/bsd/libelf/lib/Makefile:1.2
--- src/external/bsd/libelf/lib/Makefile:1.1	Sat Dec 19 05:52:01 2009
+++ src/external/bsd/libelf/lib/Makefile	Sat Dec 19 09:01:32 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2009/12/19 05:52:01 thorpej Exp $
+#	$NetBSD: Makefile,v 1.2 2009/12/19 09:01:32 thorpej Exp $
 
 .include bsd.init.mk
 
@@ -72,7 +72,7 @@
 		gelf_getehdr.3 gelf_getmove.3 gelf_getphdr.3	\
 		gelf_getrel.3 gelf_getrela.3 gelf_getshdr.3		\
 		gelf_getsym.3 gelf_getsyminfo.3 gelf_getsymshndx.3	\
-		gelf_newehdr.3 gelf_hewphdr.3\
+		gelf_newehdr.3 gelf_newphdr.3\
 		gelf_update_ehdr.3	\
 		gelf_xlatetof.3