Index: perl-module.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v retrieving revision 1.139 diff -u -B -r1.139 perl-module.eclass --- perl-module.eclass 30 Mar 2014 19:25:14 -0000 1.139 +++ perl-module.eclass 20 Jun 2014 17:13:47 -0000 @@ -150,6 +150,7 @@ INSTALLDIRS=vendor \ INSTALLMAN3DIR='none' \ DESTDIR="${D}" \ + OPTIMIZE="${CFLAGS}" \ "${myconf_local[@]}" einfo "perl Makefile.PL" "$@" perl Makefile.PL "$@" <<< "${pm_echovar}" \ @@ -179,11 +180,11 @@ elif [[ -f Makefile ]] ; then set -- \ OTHERLDFLAGS="${LDFLAGS}" \ + OPTIMIZE="${CFLAGS}" \ "${mymake_local[@]}" einfo "emake" "$@" emake "$@" \ || die "Compilation failed" -# OPTIMIZE="${CFLAGS}" \ fi }