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/backend pass $LD and $AS to the au...



details:   https://anonhg.NetBSD.org/src/rev/f55eb3006f94
branches:  trunk
changeset: 327555:f55eb3006f94
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Mar 10 18:57:35 2014 +0000

description:
pass $LD and $AS to the auto-build.h generation, so its configure
gets the right answers for many things.  in particular, it enables
HAVE_AS_TLS which the sparc port needs for TARGET_TLS to work.

diffstat:

 external/gpl3/gcc/usr.bin/backend/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r a84f6eb7f938 -r f55eb3006f94 external/gpl3/gcc/usr.bin/backend/Makefile
--- a/external/gpl3/gcc/usr.bin/backend/Makefile        Mon Mar 10 18:45:44 2014 +0000
+++ b/external/gpl3/gcc/usr.bin/backend/Makefile        Mon Mar 10 18:57:35 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.19 2014/03/01 10:00:49 mrg Exp $
+#      $NetBSD: Makefile,v 1.20 2014/03/10 18:57:35 mrg Exp $
 
 LIBISPRIVATE=  yes
 
@@ -170,6 +170,8 @@
                CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} \
                MAKE=${MAKE:Q} \
                CONFIG_SHELL=${HOST_SH:Q} \
+               gcc_cv_ld=${LD} \
+               gcc_cv_as=${AS} \
                ${HOST_SH} ${GNUHOSTDIST}/gcc/configure \
                        --build=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \
                        --host=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \



Home | Main Index | Thread Index | Old Index