Module Name:    src
Committed By:   mrg
Date:           Mon Mar 10 18:57:36 UTC 2014

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/gcc/usr.bin/backend/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/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.19 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.20
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.19	Sat Mar  1 10:00:49 2014
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Mon Mar 10 18:57:35 2014
@@ -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 @@ auto-build.h: gmp.h Makefile
 		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` \

Reply via email to