Index: openssl-0.9.8e.ebuild =================================================================== --- openssl-0.9.8e.ebuild (revision 5558) +++ openssl-0.9.8e.ebuild (working copy) @@ -102,6 +102,12 @@ shared threads \ || die "Configure failed" + if [[ ${CHOST} == i?86*-*-linux* ]]; then + # does not compile without optimization on x86-linux + filter-flags -O0 + is-flagq -O* || append-flags -O1 + fi + # Clean out hardcoded flags that openssl uses local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \ -e 's:^CFLAG=::' \