Module Name:    src
Committed By:   mrg
Date:           Tue Jun 28 10:15:40 UTC 2011

Modified Files:
        src/external/gpl3/gcc/usr.bin/cc1: Makefile

Log Message:
port this to GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/cc1/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.1 src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/cc1/Makefile:1.1	Tue Jun 21 06:03:13 2011
+++ src/external/gpl3/gcc/usr.bin/cc1/Makefile	Tue Jun 28 10:15:40 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 06:03:13 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/28 10:15:40 mrg Exp $
 
 PROG=		cc1
 SRCS=		${G_C_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -6,7 +6,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 ${G_out_file:H}

Reply via email to