--- nss-3.11.3.ebuild 2006-09-21 23:36:39.000000000 +0300 +++ nss-3.11.3.ebuild 2006-09-25 15:33:55.000000000 +0300 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.11.3.ebuild,v 1.8 2006/09/21 20:11:42 blubb Exp $ -inherit eutils +inherit eutils flag-o-matic NSPR_VER="4.6.3" RTM_NAME="NSS_${PV//./_}_RTM" @@ -41,16 +41,17 @@ src_unpack() { } src_compile() { + strip-flags if use amd64 || use ppc64 || use ia64 || use s390; then export USE_64=1 fi export NSDISTMODE=copy cd ${S}/mozilla/security/coreconf - emake -j1 BUILD_OPT=1 || die "coreconf make failed" + emake -j1 BUILD_OPT=1 XCFLAGS="${CFLAGS}" || die "coreconf make failed" cd ${S}/mozilla/security/dbm - emake -j1 BUILD_OPT=1 || die "dbm make failed" + emake -j1 BUILD_OPT=1 XCFLAGS="${CFLAGS}" || die "dbm make failed" cd ${S}/mozilla/security/nss - emake -j1 BUILD_OPT=1 || die "nss make failed" + emake -j1 BUILD_OPT=1 XCFLAGS="${CFLAGS}" || die "nss make failed" } src_install () {