summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-02 12:27:12 +0000
committerjlam <jlam@pkgsrc.org>2004-02-02 12:27:12 +0000
commit67d464d2255e2fcc2dbff017b7d2097bb30d6a08 (patch)
tree3370323a2b8dc69b73c1aa7d3bc5c78a032814f4 /mk/compiler
parentb3ef0bf8cba01cf6787ba0c8366b1f19d97c3bff (diff)
downloadpkgsrc-67d464d2255e2fcc2dbff017b7d2097bb30d6a08.tar.gz
G/C _GCC_ARCHSUBDIR. All references to it from gcc*/buildlink*.mk files
have been removed.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/gcc.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index dd5a04eaa1e..f2d5242fa26 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.10 2004/02/02 10:49:26 jlam Exp $
+# $NetBSD: gcc.mk,v 1.11 2004/02/02 12:27:12 jlam Exp $
.if !defined(COMPILER_GCC_MK)
COMPILER_GCC_MK= defined
@@ -177,15 +177,12 @@ _GCC_SUBPREFIX!= \
${ECHO} "not_found/"; \
fi
_GCC_PREFIX= ${LOCALBASE}/${_GCC_SUBPREFIX}
-_GCC_LIBGCCDIR!= \
+_GCC_ARCHDIR!= \
if [ -x ${_GCC_PREFIX}bin/gcc ]; then \
${DIRNAME} `${_GCC_PREFIX}bin/gcc --print-libgcc-file-name`; \
else \
${ECHO} "not_found"; \
fi
-_GCC_ARCHSUBDIR= ${_GCC_LIBGCCDIR:S|^${LOCALBASE}/${_GCC_SUBPREFIX}||}
-_GCC_ARCHDIR= ${_GCC_PREFIX}${_GCC_ARCHSUBDIR}
-
_GCC_LDFLAGS= # empty
.for _dir_ in ${_GCC_ARCHDIR} ${_GCC_PREFIX}lib
_GCC_LDFLAGS+= -L${_dir_} ${_COMPILER_LD_FLAG}${RPATH_FLAG}${_dir_}