Module Name:    src
Committed By:   christos
Date:           Wed Jan  7 02:02:44 UTC 2015

Modified Files:
        src/external/gpl3/gcc/usr.bin: Makefile
Added Files:
        src/external/gpl3/gcc/usr.bin/lto-wrapper: Makefile
        src/external/gpl3/gcc/usr.bin/lto1: Makefile

Log Message:
build lto


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/usr.bin/lto1/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/Makefile
diff -u src/external/gpl3/gcc/usr.bin/Makefile:1.5 src/external/gpl3/gcc/usr.bin/Makefile:1.6
--- src/external/gpl3/gcc/usr.bin/Makefile:1.5	Sat Mar  1 05:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/Makefile	Tue Jan  6 21:02:44 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2014/03/01 10:00:49 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2015/01/07 02:02:44 christos Exp $
 
 NOOBJ=# defined
 
@@ -16,6 +16,7 @@ SUBDIR+=	host-libiberty .WAIT \
 		common common-target .WAIT \
 		libcpp libdecnumber .WAIT \
 		gcov cc1 cc1obj cc1plus cpp g++ gcc \
+		lto lto-wrapper \
 		include
 
 .include <bsd.subdir.mk>

Added files:

Index: src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile
diff -u /dev/null src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile:1.1
--- /dev/null	Tue Jan  6 21:02:44 2015
+++ src/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile	Tue Jan  6 21:02:44 2015
@@ -0,0 +1,23 @@
+#	$NetBSD: Makefile,v 1.1 2015/01/07 02:02:44 christos Exp $
+
+NOMAN=1
+PROG=		lto-wrapper
+SRCS=		lto-wrapper.c
+CPPFLAGS+=	-DPREFIX=\"/usr\"
+
+.include "../Makefile.backend"
+.include "../Makefile.backtrace"
+.include "../Makefile.common-target"
+.include "../Makefile.libcpp"
+
+DPADD+=                 ${LIBIBERTYOBJ}/libiberty.a
+LDADD+=                 ${LIBIBERTYOBJ}/libiberty.a
+
+
+# VER_CPPFLAGS from Makefile.inc
+
+LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
+DPADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
+
+.PATH: ${DIST}/gcc ${DIST}/gcc/c ${DIST}/gcc/c-family ${DIST}/gcc/config
+.PATH: ${G_out_file:H}

Index: src/external/gpl3/gcc/usr.bin/lto1/Makefile
diff -u /dev/null src/external/gpl3/gcc/usr.bin/lto1/Makefile:1.1
--- /dev/null	Tue Jan  6 21:02:44 2015
+++ src/external/gpl3/gcc/usr.bin/lto1/Makefile	Tue Jan  6 21:02:44 2015
@@ -0,0 +1,22 @@
+#	$NetBSD: Makefile,v 1.1 2015/01/07 02:02:44 christos Exp $
+
+PROG=		lto1
+SRCS=		lto-partition.c lto-object.c lto.c lto-lang.c attribs.c main.c
+
+CPPFLAGS+=	-DPREFIX=\"/usr\"
+
+.include "../Makefile.backend"
+.include "../Makefile.backtrace"
+.include "../Makefile.common"
+.include "../Makefile.common-target"
+.include "../Makefile.libcpp"
+.include "../Makefile.libdecnumber"
+.include "../Makefile.libiberty"
+
+LDADD+= ${LIBIBERTYOBJ}/libiberty.a
+DPADD+= ${LIBIBERTYOBJ}/libiberty.a
+LDADD+=	${LIBIBERTY} ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
+DPADD+=	${LIBIBERTY} ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
+
+.PATH: ${DIST}/gcc/lto  ${DIST}/gcc # ${DIST}/gcc/c ${DIST}/gcc/c-family ${DIST}/gcc/config
+.PATH: ${G_out_file:H}

Reply via email to