Make sure that gcc47 JAVA_WRAPPERS don't break the _GCC_SUBPREFIX detection.

This commit is contained in:
sbd 2012-04-16 05:00:44 +00:00
parent 7926965dae
commit e3fd6d777e

View file

@ -1,4 +1,4 @@
# $NetBSD: gcc.mk,v 1.116 2012/04/13 03:03:36 sbd Exp $
# $NetBSD: gcc.mk,v 1.117 2012/04/16 05:00:44 sbd Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@ -474,6 +474,7 @@ _GCC_SUBPREFIX!= \
if ${PKG_INFO} -qe ${_GCC_PKGBASE}; then \
${PKG_INFO} -f ${_GCC_PKGBASE} | \
${GREP} "File:.*bin/gcc" | \
${GREP} -v "/gcc[0-9][0-9]*-.*" | \
${SED} -e "s/.*File: *//;s/bin\/gcc.*//;q"; \
else \
case ${_CC} in \