gcc.build: use 'em.set_docfiles()'

This commit is contained in:
2014-07-17 12:55:23 +02:00
parent 4ff4d65a54
commit 7bcde6c147

View File

@@ -15,19 +15,13 @@ function em.configure() {
|| exit 1
}
function em.install_doc() {
install -m 0444 \
COPYING* \
NEWS \
README \
"${DOCDIR}"
}
# use system gcc to compile
declare -rx CC=gcc
module use 'Libraries'
em.add_to_family 'Programming'
em.set_build_dependencies "gmp" "mpfr" "mpc"
em.set_build_dependencies 'gmp' 'mpfr' 'mpc'
em.set_docfiles 'COPYING' 'COPYING.LIB' 'COPYING.RUNTIME' 'COPYING3' 'COPYING3.LIB' 'NEWS' 'README'
em.make_all