#       $NetBSD: Makefile,v 1.8 2018/09/28 14:45:16 maya Exp $
#

GNUHOSTDIST=    ${.CURDIR}/../../external/bsd/file/dist

CONFIGURE_ENV+= CC=${HOST_CC:Q} \
               CFLAGS=${HOST_CFLAGS:Q} \
               CPPFLAGS=${HOST_CPPFLAGS:Q} \
               CXX=${HOST_CXX:Q}

CONFIGURE_ARGS= --program-prefix=${_TOOL_PREFIX} --disable-shared \
               --disable-warnings --disable-libseccomp

NOTPARALLEL:

include "${.CURDIR}/../Makefile.gnuhost"

# Force avoiding possibly non-executable install-sh.
CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d"