Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 May 2018 11:04:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 227918] [PATCH] remove exists check for CROSS_BINUTILS_PREFIX for external clang builds on secondary arches
Message-ID:  <bug-227918-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

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@FreeBSD.org
          Reporter: kennethsalerno@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227918-227>