mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
glibc: don't munge cflags into configparams for i686
This commit is contained in:
parent
93c1316909
commit
e88ff47423
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'glibc'
|
# Template file for 'glibc'
|
||||||
pkgname=glibc
|
pkgname=glibc
|
||||||
version=2.16.0
|
version=2.16.0
|
||||||
revision=2
|
revision=3
|
||||||
short_desc="The GNU C library"
|
short_desc="The GNU C library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.gnu.org/software/libc"
|
homepage="http://www.gnu.org/software/libc"
|
||||||
|
@ -31,8 +31,7 @@ do_configure() {
|
||||||
# Build with -mno-tls-direct-seg-refs to avoid performance problems
|
# Build with -mno-tls-direct-seg-refs to avoid performance problems
|
||||||
# with Xen on x86 32bit.
|
# with Xen on x86 32bit.
|
||||||
if [ "${XBPS_MACHINE}" = "i686" ]; then
|
if [ "${XBPS_MACHINE}" = "i686" ]; then
|
||||||
cflags="-mno-tls-direct-seg-refs -O2 -march=${XBPS_MACHINE%%-*}"
|
export CFLAGS="${CFLAGS} -mno-tls-direct-seg-refs"
|
||||||
echo "CFLAGS=$cflags" >> configparms
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
../configure ${CONFIGURE_SHARED_ARGS} --with-tls \
|
../configure ${CONFIGURE_SHARED_ARGS} --with-tls \
|
||||||
|
|
Loading…
Add table
Reference in a new issue