Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 677876 | Differences between
and this patch

Collapse All | Expand All

(-)a/make/autoconf/toolchain.m4 (-4 lines)
Lines 572-581 AC_DEFUN([TOOLCHAIN_FIND_COMPILER], Link Here
572
    # We can't handle ccache by gcc wrappers, since we need to know if we're
572
    # We can't handle ccache by gcc wrappers, since we need to know if we're
573
    # using ccache. Instead ccache usage must be controlled by a configure option.
573
    # using ccache. Instead ccache usage must be controlled by a configure option.
574
    COMPILER_BASENAME=`$BASENAME "$SYMLINK_ORIGINAL"`
574
    COMPILER_BASENAME=`$BASENAME "$SYMLINK_ORIGINAL"`
575
    if test "x$COMPILER_BASENAME" = "xccache"; then
576
      AC_MSG_NOTICE([Please use --enable-ccache instead of providing a wrapped compiler.])
577
      AC_MSG_ERROR([$TEST_COMPILER is a symbolic link to ccache. This is not supported.])
578
    fi
579
  fi
575
  fi
580
576
581
  TOOLCHAIN_EXTRACT_COMPILER_VERSION([$1], [$COMPILER_NAME])
577
  TOOLCHAIN_EXTRACT_COMPILER_VERSION([$1], [$COMPILER_NAME])

Return to bug 677876