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 lto



details:   https://anonhg.NetBSD.org/src/rev/85b8ef9758af
branches:  trunk
changeset: 335443:85b8ef9758af
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 07 02:02:44 2015 +0000

description:
build lto

diffstat:

 external/gpl3/gcc/usr.bin/Makefile             |   3 ++-
 external/gpl3/gcc/usr.bin/lto-wrapper/Makefile |  23 +++++++++++++++++++++++
 external/gpl3/gcc/usr.bin/lto1/Makefile        |  22 ++++++++++++++++++++++
 3 files changed, 47 insertions(+), 1 deletions(-)

diffs (70 lines):

diff -r f1e6a4e3e1ca -r 85b8ef9758af external/gpl3/gcc/usr.bin/Makefile
--- a/external/gpl3/gcc/usr.bin/Makefile        Wed Jan 07 01:11:47 2015 +0000
+++ b/external/gpl3/gcc/usr.bin/Makefile        Wed Jan 07 02:02:44 2015 +0000
@@ -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 @@
                common common-target .WAIT \
                libcpp libdecnumber .WAIT \
                gcov cc1 cc1obj cc1plus cpp g++ gcc \
+               lto lto-wrapper \
                include
 
 .include <bsd.subdir.mk>
diff -r f1e6a4e3e1ca -r 85b8ef9758af external/gpl3/gcc/usr.bin/lto-wrapper/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/usr.bin/lto-wrapper/Makefile    Wed Jan 07 02:02:44 2015 +0000
@@ -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}
diff -r f1e6a4e3e1ca -r 85b8ef9758af external/gpl3/gcc/usr.bin/lto1/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/usr.bin/lto1/Makefile   Wed Jan 07 02:02:44 2015 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index