[Bug 227918] [PATCH] remove exists check for CROSS_BINUTILS_PREFIX for external clang builds on secondary arches

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 2 11:04:53 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227918

            Bug ID: 227918
           Summary: [PATCH] remove exists check for CROSS_BINUTILS_PREFIX
                    for external clang builds on secondary arches
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs at FreeBSD.org
          Reporter: kennethsalerno at yahoo.com

Created attachment 192990
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192990&action=edit
patch to remove exists check

Hi,

When using devel/llvm60 as external compiler on powerpc64, it is necessary to
specify CROSS_BINUTILS_PREFIX if you want to use powerpc64-binutils and
therefore requires BFLAGS+= -B/usr/local/bin/powerpc64-unknown-freebsd${OSREL}-
set in Makefile.inc1.

Attached patch removes exists(${CROSS_BINUTILS_PREFIX}) directory check for
CROSS_BINUTILS_PREFIX when it should add -B for all cases if the env variable
is set, because it doesn't hurt in cases where it's unnecessary anyway.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list