Lines 18-24
DESCRIPTION="A really great language"
Link Here
|
18 |
SRC_URI="http://www.python.org/ftp/python/${PV%_*}/Python-${PV}.tar.bz2" |
18 |
SRC_URI="http://www.python.org/ftp/python/${PV%_*}/Python-${PV}.tar.bz2" |
19 |
HOMEPAGE="http://www.python.org" |
19 |
HOMEPAGE="http://www.python.org" |
20 |
|
20 |
|
21 |
IUSE="ncurses gdbm ssl readline tcltk berkdb bootstrap ipv6 build ucs2 doc X" |
21 |
IUSE="ncurses gdbm ssl readline tcltk berkdb bootstrap ipv6 build ucs2 doc X hardened" |
22 |
LICENSE="PSF-2.2" |
22 |
LICENSE="PSF-2.2" |
23 |
SLOT="2.3" |
23 |
SLOT="2.3" |
24 |
|
24 |
|
Lines 92-97
src_compile() {
Link Here
|
92 |
[ "${ARCH}" = "alpha" ] && append-flags -fPIC |
92 |
[ "${ARCH}" = "alpha" ] && append-flags -fPIC |
93 |
[ "${ARCH}" = "amd64" ] && append-flags -fPIC |
93 |
[ "${ARCH}" = "amd64" ] && append-flags -fPIC |
94 |
|
94 |
|
|
|
95 |
if is-flag -O3 ; then |
96 |
is-flag -fstack-protector-all && replace-flags -O3 -O2 |
97 |
use hardened && replace-flags -O3 -O2 |
98 |
fi |
95 |
export OPT="${CFLAGS}" |
99 |
export OPT="${CFLAGS}" |
96 |
|
100 |
|
97 |
local myconf |
101 |
local myconf |