Module Name: src
Committed By: joerg
Date: Tue Aug 9 12:56:42 UTC 2011
Modified Files:
src/external/gpl3/gcc/usr.bin/cc1: Makefile
src/external/gpl3/gcc/usr.bin/cc1obj: Makefile
src/external/gpl3/gcc/usr.bin/cc1plus: Makefile
Log Message:
Since cproj and friends are used, link explicitly against libm.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/cc1/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/usr.bin/cc1plus/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/gcc/usr.bin/cc1/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.4 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.4 Thu Jul 21 03:13:32 2011
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile Tue Aug 9 12:56:41 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/07/21 03:13:32 mrg Exp $
+# $NetBSD: Makefile,v 1.5 2011/08/09 12:56:41 joerg Exp $
PROG= cc1
SRCS= ${G_C_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -13,7 +13,7 @@
COPTS+= -Wno-stack-protector
-LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz
-DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ}
+LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
+DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
.PATH: ${DIST}/gcc ${G_out_file:H}
Index: src/external/gpl3/gcc/usr.bin/cc1obj/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.4 src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/cc1obj/Makefile:1.4 Thu Jul 21 03:13:32 2011
+++ src/external/gpl3/gcc/usr.bin/cc1obj/Makefile Tue Aug 9 12:56:41 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/07/21 03:13:32 mrg Exp $
+# $NetBSD: Makefile,v 1.5 2011/08/09 12:56:41 joerg Exp $
MYOBJS= ${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS}
PROG= cc1obj
@@ -16,7 +16,7 @@
COPTS+= -Wno-stack-protector
-LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz
-DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ}
+LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
+DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
.PATH: ${DIST}/gcc/objc ${DIST}/gcc ${G_out_file:H}
Index: src/external/gpl3/gcc/usr.bin/cc1plus/Makefile
diff -u src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.4 src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.5
--- src/external/gpl3/gcc/usr.bin/cc1plus/Makefile:1.4 Thu Jul 21 03:13:32 2011
+++ src/external/gpl3/gcc/usr.bin/cc1plus/Makefile Tue Aug 9 12:56:42 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/07/21 03:13:32 mrg Exp $
+# $NetBSD: Makefile,v 1.5 2011/08/09 12:56:42 joerg Exp $
PROG= cc1plus
SRCS= ${G_CXX_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -16,7 +16,7 @@
# YUCK. but see timevar.h:POP_TIMEVAR_AND_RETURN
CFLAGS+= -Wno-error # not good enough: -Wno-return-type
-LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz
-DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ}
+LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
+DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
.PATH: ${DIST}/gcc/cp ${DIST}/gcc ${G_out_file:H}