Lines 120-129
Link Here
|
120 |
EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch |
120 |
EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch |
121 |
elibtoolize --portage --shallow |
121 |
elibtoolize --portage --shallow |
122 |
./contrib/gcc_update --touch |
122 |
./contrib/gcc_update --touch |
|
|
123 |
mkdir "${WORKDIR}/build" |
123 |
} |
124 |
} |
124 |
|
125 |
|
125 |
src_compile() { |
126 |
src_compile() { |
|
|
127 |
cd "${WORKDIR}/build" |
126 |
do_filter_flags |
128 |
do_filter_flags |
|
|
129 |
ECONF_SOURCE=${S} |
127 |
econf \ |
130 |
econf \ |
128 |
--enable-shared \ |
131 |
--enable-shared \ |
129 |
--with-system-zlib \ |
132 |
--with-system-zlib \ |
Lines 144-149
Link Here
|
144 |
} |
147 |
} |
145 |
|
148 |
|
146 |
src_install() { |
149 |
src_install() { |
|
|
150 |
cd "${WORKDIR}/build" |
147 |
emake -j1 DESTDIR="${D}" install-target-libstdc++-v3 || die |
151 |
emake -j1 DESTDIR="${D}" install-target-libstdc++-v3 || die |
148 |
|
152 |
|
149 |
# scrub everything but the library we care about |
153 |
# scrub everything but the library we care about |