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