--- python-2.5.2-r4.ebuild~ 2008-06-22 23:08:51.000000000 +0200 +++ python-2.5.2-r4.ebuild~ 2008-06-22 23:51:08.000000000 +0200 @@ -121,6 +121,11 @@ use hardened && replace-flags -O3 -O2 fi + # https://bugs.gentoo.org/show_bug.cgi?id=228905 + if has_version >=sys-devel/gcc-4* ; then + append-flags -fwrapv + fi + export OPT="${CFLAGS}" local myconf