1 1.1.2.1 yamt # $NetBSD: Makefile,v 1.1.2.1 2012/04/17 00:09:28 yamt 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.1 mrg PATH="${TOOLDIR:Q}/bin:$$$$PATH" 15 1.1.2.1 yamt 16 1.1.2.1 yamt # Force avoiding possibly non-executable install-sh. 17 1.1.2.1 yamt CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d" 18