Lines 212-217
Link Here
|
212 |
replace-flags -Os -O3 # comment #14 |
212 |
replace-flags -Os -O3 # comment #14 |
213 |
fi |
213 |
fi |
214 |
|
214 |
|
|
|
215 |
if [[ ${CHOST} == *-solaris* ]]; then |
216 |
append-ldflags -L/lib -R/lib /lib/libz.so |
217 |
append-libs -lsocket -lnsl |
218 |
fi |
219 |
|
215 |
if use prefix ; then |
220 |
if use prefix ; then |
216 |
# for Python's setup.py not to do false assumptions (only looking in |
221 |
# for Python's setup.py not to do false assumptions (only looking in |
217 |
# host paths) we need to make explicit where Prefix stuff is |
222 |
# host paths) we need to make explicit where Prefix stuff is |
Lines 219-225
Link Here
|
219 |
append-ldflags -L"${EPREFIX}"/$(get_libdir) |
224 |
append-ldflags -L"${EPREFIX}"/$(get_libdir) |
220 |
append-ldflags -L"${EPREFIX}"/usr/$(get_libdir) |
225 |
append-ldflags -L"${EPREFIX}"/usr/$(get_libdir) |
221 |
# fix compilation on some 64-bits Linux hosts, #381163, #473520 |
226 |
# fix compilation on some 64-bits Linux hosts, #381163, #473520 |
222 |
for hostlibdir in /usr/lib32 /usr/lib64 /usr/lib /lib32 /lib64; do |
227 |
for hostlibdir in /usr/lib32 /usr/lib64 /usr/lib /lib32 /lib64 /lib; do |
223 |
[[ -d ${hostlibdir} ]] || continue |
228 |
[[ -d ${hostlibdir} ]] || continue |
224 |
append-ldflags -L${hostlibdir} |
229 |
append-ldflags -L${hostlibdir} |
225 |
done |
230 |
done |
Lines 274-279
Link Here
|
274 |
econf \ |
279 |
econf \ |
275 |
--with-fpectl \ |
280 |
--with-fpectl \ |
276 |
$(use_enable ipv6) \ |
281 |
$(use_enable ipv6) \ |
|
|
282 |
--disable-ipv6 \ |
277 |
$(use_with threads) \ |
283 |
$(use_with threads) \ |
278 |
$( (use wide-unicode && use !aqua) && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2") \ |
284 |
$( (use wide-unicode && use !aqua) && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2") \ |
279 |
--infodir='${prefix}/share/info' \ |
285 |
--infodir='${prefix}/share/info' \ |