1 1.3 christos # $NetBSD: Makefile,v 1.3 2016/01/09 01:13:42 christos Exp $ 2 1.1 mrg # 3 1.1 mrg 4 1.1 mrg GNUHOSTDIST= ${.CURDIR}/../../external/lgpl3/gmp/dist 5 1.1 mrg 6 1.1 mrg CONFIGURE_ARGS+=--disable-shared 7 1.1 mrg 8 1.1 mrg .include "${.CURDIR}/../Makefile.gnuhost" 9 1.1 mrg 10 1.1 mrg # Don't override CFLAGS and CXXFLAGS, it breaks ABI detection. 11 1.1 mrg # PATH needs special treating since "make" tries to expand $PATH 12 1.1 mrg # when variable is used. 13 1.1 mrg CONFIGURE_ENV:= ${CONFIGURE_ENV:NPATH=*:NCFLAGS=*:NCXXFLAGS=*} \ 14 1.3 christos PATH="${TOOLDIR:Q}/bin:$$PATH" 15 1.2 mrg 16 1.2 mrg # Force avoiding possibly non-executable install-sh. 17 1.2 mrg CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d" 18