From 129ce057eb57cc273f4340f54d35b9f93924cbea Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 30 Jul 2004 20:48:39 +0000 Subject: Check the version of as using the just-computed ${AS_PATH}, not ${AS}. --- lang/gcc3/Makefile.common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/gcc3') diff --git a/lang/gcc3/Makefile.common b/lang/gcc3/Makefile.common index 0f237c72133..934abda5403 100644 --- a/lang/gcc3/Makefile.common +++ b/lang/gcc3/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.8 2004/07/03 12:15:22 grant Exp $ +# $NetBSD: Makefile.common,v 1.9 2004/07/30 20:48:39 jlam Exp $ GCC_VERSION= 3.3.4 DISTNAME= gcc-${GCC_VERSION} @@ -73,7 +73,7 @@ AS_PATH:= ${_dir_}/${AS} . if !empty(AS_PATH:M${LOCALBASE}/*) USE_BINUTILS= YES . else -AS_VERSION!= ${AS} --version | ${AWK} '{ \ +AS_VERSION!= ${AS_PATH} --version | ${AWK} '{ \ split($$3, v, /[.]/); \ printf "%02d%02d%02d%02d\n",v[1],v[2],v[3],v[4]; \ exit; \ -- cgit v1.2.3