Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/usr.bin Since cproj and friends are used, ...
details: https://anonhg.NetBSD.org/src/rev/dab7cbd9e2eb
branches: trunk
changeset: 768135:dab7cbd9e2eb
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Aug 09 12:56:41 2011 +0000
description:
Since cproj and friends are used, link explicitly against libm.
diffstat:
external/gpl3/gcc/usr.bin/cc1/Makefile | 6 +++---
external/gpl3/gcc/usr.bin/cc1obj/Makefile | 6 +++---
external/gpl3/gcc/usr.bin/cc1plus/Makefile | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (57 lines):
diff -r 6d85a19a3b52 -r dab7cbd9e2eb external/gpl3/gcc/usr.bin/cc1/Makefile
--- a/external/gpl3/gcc/usr.bin/cc1/Makefile Tue Aug 09 12:55:18 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/cc1/Makefile Tue Aug 09 12:56:41 2011 +0000
@@ -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}
diff -r 6d85a19a3b52 -r dab7cbd9e2eb external/gpl3/gcc/usr.bin/cc1obj/Makefile
--- a/external/gpl3/gcc/usr.bin/cc1obj/Makefile Tue Aug 09 12:55:18 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/cc1obj/Makefile Tue Aug 09 12:56:41 2011 +0000
@@ -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}
diff -r 6d85a19a3b52 -r dab7cbd9e2eb external/gpl3/gcc/usr.bin/cc1plus/Makefile
--- a/external/gpl3/gcc/usr.bin/cc1plus/Makefile Tue Aug 09 12:55:18 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/cc1plus/Makefile Tue Aug 09 12:56:41 2011 +0000
@@ -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}
Home |
Main Index |
Thread Index |
Old Index