Module Name:    src
Committed By:   matt
Date:           Thu Apr 25 14:53:36 UTC 2013

Modified Files:
        src/external/gpl3/binutils/usr.bin/common: Makefile.prog
        src/external/gpl3/binutils/usr.bin/gas: Makefile

Log Message:
If libc isn't build with compat, ldexp/frexp will not be included.  Always
pick them up from libm instead.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
    src/external/gpl3/binutils/usr.bin/common/Makefile.prog
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/binutils/usr.bin/gas/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/gpl3/binutils/usr.bin/common/Makefile.prog
diff -u src/external/gpl3/binutils/usr.bin/common/Makefile.prog:1.6 src/external/gpl3/binutils/usr.bin/common/Makefile.prog:1.7
--- src/external/gpl3/binutils/usr.bin/common/Makefile.prog:1.6	Thu Feb 14 21:29:35 2013
+++ src/external/gpl3/binutils/usr.bin/common/Makefile.prog	Thu Apr 25 14:53:35 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.prog,v 1.6 2013/02/14 21:29:35 christos Exp $
+#	$NetBSD: Makefile.prog,v 1.7 2013/04/25 14:53:35 matt Exp $
 #
 # Common Makefile fragment for a binutils program.
 #
@@ -36,8 +36,8 @@ PROGDPLIBS+=	iberty	${TOP}/${BFDSUBDIR}/
 
 .include <bsd.prog.mk>
 
-LDADD+=		-lintl -lz
-DPADD+=		${LIBINTL} ${LIBZ}
+LDADD+=		-lintl -lz -lm
+DPADD+=		${LIBINTL} ${LIBZ} ${LIBM}
 
 # Override the .y.c and .y.l rules *after* <bsd.prog.mk>
 .y.c .l.c:

Index: src/external/gpl3/binutils/usr.bin/gas/Makefile
diff -u src/external/gpl3/binutils/usr.bin/gas/Makefile:1.9 src/external/gpl3/binutils/usr.bin/gas/Makefile:1.10
--- src/external/gpl3/binutils/usr.bin/gas/Makefile:1.9	Thu Feb 14 21:29:35 2013
+++ src/external/gpl3/binutils/usr.bin/gas/Makefile	Thu Apr 25 14:53:36 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2013/02/14 21:29:35 christos Exp $
+#	$NetBSD: Makefile,v 1.10 2013/04/25 14:53:36 matt Exp $
 
 .include <bsd.own.mk>
 
@@ -39,5 +39,5 @@ as.info:	bfdver.texi
 .include <bsd.prog.mk>
 .include <bsd.info.mk>
 
-LDADD+=		-lintl -lz
-DPADD+=		${LIBINTL} ${LIBZ}
+LDADD+=		-lintl -lz -lm
+DPADD+=		${LIBINTL} ${LIBZ} ${LIBM}

Reply via email to