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 - build libdecnumber
details: https://anonhg.NetBSD.org/src/rev/36f392eb6ea4
branches: trunk
changeset: 766611:36f392eb6ea4
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Jun 29 01:57:59 2011 +0000
description:
- build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS
diffstat:
external/gpl3/gcc/usr.bin/Makefile | 6 +++---
external/gpl3/gcc/usr.bin/cc1obj/Makefile | 8 +++++++-
external/gpl3/gcc/usr.bin/cc1plus/Makefile | 8 +++++++-
3 files changed, 17 insertions(+), 5 deletions(-)
diffs (68 lines):
diff -r 5eeb0232f612 -r 36f392eb6ea4 external/gpl3/gcc/usr.bin/Makefile
--- a/external/gpl3/gcc/usr.bin/Makefile Wed Jun 29 01:56:57 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/Makefile Wed Jun 29 01:57:59 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/06/24 05:25:24 mrg Exp $
+# $NetBSD: Makefile,v 1.3 2011/06/29 01:57:59 mrg Exp $
NOOBJ=# defined
@@ -11,9 +11,9 @@
SUBDIR+= host-libiberty .WAIT \
backend .WAIT \
frontend .WAIT \
- libcpp gcov .WAIT \
+ libcpp libdecnumber gcov .WAIT \
cc1 cc1obj cc1plus cpp g++ gcc \
- include protoize unprotoize
+ include
.include <bsd.subdir.mk>
diff -r 5eeb0232f612 -r 36f392eb6ea4 external/gpl3/gcc/usr.bin/cc1obj/Makefile
--- a/external/gpl3/gcc/usr.bin/cc1obj/Makefile Wed Jun 29 01:56:57 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/cc1obj/Makefile Wed Jun 29 01:57:59 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/06/21 06:03:13 mrg Exp $
+# $NetBSD: Makefile,v 1.2 2011/06/29 01:57:59 mrg Exp $
MYOBJS= ${G_OBJC_OBJS} ${G_C_AND_OBJC_OBJS}
PROG= cc1obj
@@ -9,7 +9,13 @@
.include "../Makefile.backend"
.include "../Makefile.libcpp"
+.include "../Makefile.libdecnumber"
+
+# VER_CPPFLAGS from Makefile.inc
+CPPFLAGS.c-cppbuiltin.c= ${VER_CPPFLAGS}
COPTS+= -Wno-stack-protector
+LDADD+= -lintl -lgmp -lmpfr -lmpc -lz
+
.PATH: ${DIST}/gcc/objc ${DIST}/gcc ${G_out_file:H}
diff -r 5eeb0232f612 -r 36f392eb6ea4 external/gpl3/gcc/usr.bin/cc1plus/Makefile
--- a/external/gpl3/gcc/usr.bin/cc1plus/Makefile Wed Jun 29 01:56:57 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/cc1plus/Makefile Wed Jun 29 01:57:59 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/06/21 06:03:13 mrg Exp $
+# $NetBSD: Makefile,v 1.2 2011/06/29 01:57:59 mrg Exp $
PROG= cc1plus
SRCS= ${G_CXX_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -8,8 +8,14 @@
.include "../Makefile.backend"
.include "../Makefile.libcpp"
+.include "../Makefile.libdecnumber"
+
+# VER_CPPFLAGS from Makefile.inc
+CPPFLAGS.c-cppbuiltin.c= ${VER_CPPFLAGS}
# YUCK. but see timevar.h:POP_TIMEVAR_AND_RETURN
CFLAGS+= -Wno-error # not good enough: -Wno-return-type
+LDADD+= -lintl -lgmp -lmpfr -lmpc -lz
+
.PATH: ${DIST}/gcc/cp ${DIST}/gcc ${G_out_file:H}
Home |
Main Index |
Thread Index |
Old Index