enable lto

This commit is contained in:
christos 2015-01-07 02:06:03 +00:00
parent 0c2e46cd4b
commit 7f61831388
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.22 2014/07/06 00:21:24 joerg Exp $
# $NetBSD: Makefile,v 1.23 2015/01/07 02:06:03 christos Exp $
LIBISPRIVATE= yes
@ -176,6 +176,7 @@ auto-build.h: gmp.h Makefile
gcc_cv_ld=${LD} \
gcc_cv_as=${AS} \
${HOST_SH} ${GNUHOSTDIST}/gcc/configure \
--enable-lto \
--build=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \
--host=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \
--target=${MACHINE_GNU_PLATFORM} && \