ports

zandra's ports tree
git clone git://zandra.org/ports
Log | Files | Refs | README | LICENSE

gcc.mk (817B)


      1 TARG = gcc
      2 DEPS = gmp mpfr mpc
      3 
      4 <$mkbuild/mk.common-noinst
      5 
      6 gcc:QV:
      7 	CC="${CC} -static" ./configure \
      8 		--prefix="$PREFIX" \
      9 		--mandir="$PREFIX/share/man" \
     10 		--libexecdir="$PREFIX/lib" \
     11 		--disable-shared \
     12 		--disable-multilib \
     13 		--disable-nls \
     14 		--disable-symvers \
     15 		--disable-libsanitizer \
     16 		--disable-libssp \
     17 		--disable-werror \
     18 		--disable-rpath \
     19 		--disable-bootstrap \
     20 		--disable-initfini-array \
     21 		--enable-libstdcxx-time=rt \
     22 		--enable-languages=c,c++ \
     23 		--host=${HOST_TOOLCHAIN_TRIPLET} \
     24 		--target=${TOOLCHAIN_TRIPLET} \
     25 		--with-gmp-include=$gmp_includedir \
     26 		--with-gmp-lib=$gmp_libdir \
     27 		--with-mpc-include=$mpc_includedir \
     28 		--with-mpc-lib=$mpc_libdir \
     29 		--with-mpfr-include=$mpfr_includedir \
     30 		--with-mpfr-lib=$mpfr_libdir
     31 	make -j$nprocs
     32 
     33 install:QV:
     34 	make DESTDIR="$ROOT" install