devel/aarch64-none-elf-gcc: Fix building plugins

For building plugins gcc needs objdump, whcih exists in amd64 world but
not on aarch64. We already have a dependancy on devel/binutils but this
port install binaries in ${LOCALBASE}/${GCC_TARGET}/bin so add that to
the PATH.

Reported by:	Mark Millard
This commit is contained in:
Emmanuel Vadot 2020-04-29 17:17:52 +00:00
parent 65a4f7c1f5
commit 44aee259e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533381

View file

@ -46,6 +46,8 @@ CONFIGURE_ARGS+=--target=${GCC_TARGET} --disable-nls --enable-languages=c,c++ \
--with-as=${LOCALBASE}/bin/${GCC_TARGET}-as \
--with-ld=${LOCALBASE}/bin/${GCC_TARGET}-ld
MAKE_ENV+= PATH=${PATH}:${LOCALBASE}/${GCC_TARGET}/bin
# U-Boot requires libgcc, crossbuild and install it along with the compiler.
ALL_TARGET= all-gcc all-target-libgcc
INSTALL_TARGET= install-gcc install-target-libgcc