glibc: use -mno-tls-direct-seg-refs on i686, to avoid performance issues

with Xen.

--HG--
extra : convert_revision : 43faf4e611d5d6b402db5394d77429f6ca7d31cb
This commit is contained in:
Juan RP 2010-02-27 15:49:33 +01:00
parent 1bd40f7b85
commit c3e4665172

View file

@ -22,6 +22,12 @@ long_desc="
as C++ and Objective C; the runtime facilities of other programming
languages use the C library to access the underlying operating system."
# Build with -mno-tls-direct-seg-refs to avoid performance problems
# with Xen on x86 32bit.
if [ "${xbps_machine}" = "i686" ]; then
CFLAGS="-mno-tls-direct-seg-refs"
fi
# Don't check for deps here
ignore_vdeps_dir="/usr/lib/gconv"