glibc: add -O2 optimization for i686 build.
This commit is contained in:
parent
032f9241f3
commit
bdbf2730a1
4 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,7 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development: headers, static libs, etc."
|
This package contains files for development: headers, static libs, etc."
|
||||||
|
|
||||||
revision=4
|
revision=5
|
||||||
|
|
||||||
Add_dependency run kernel-libc-headers ">=3.2.6<3.3"
|
Add_dependency run kernel-libc-headers ">=3.2.6<3.3"
|
||||||
Add_dependency run glibc ">=${version}_5"
|
Add_dependency run glibc ">=${version}_5"
|
||||||
|
|
|
@ -5,7 +5,7 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains the ${sourcepkg} locale files, for non US users."
|
This package contains the ${sourcepkg} locale files, for non US users."
|
||||||
|
|
||||||
revision=1
|
revision=2
|
||||||
conf_files="/etc/default/libc-locales"
|
conf_files="/etc/default/libc-locales"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ long_desc="
|
||||||
This package contains nscd, a daemon that provides a cache for the
|
This package contains nscd, a daemon that provides a cache for the
|
||||||
most common name service requests."
|
most common name service requests."
|
||||||
|
|
||||||
revision=3
|
revision=4
|
||||||
systemd_services="nscd.service on"
|
systemd_services="nscd.service on"
|
||||||
conf_files="/etc/nscd.conf"
|
conf_files="/etc/nscd.conf"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'glibc'
|
# Template file for 'glibc'
|
||||||
pkgname=glibc
|
pkgname=glibc
|
||||||
version=2.14.1
|
version=2.14.1
|
||||||
revision=5
|
revision=6
|
||||||
distfiles="http://ftp.gnu.org/gnu/glibc/glibc-${version}.tar.bz2"
|
distfiles="http://ftp.gnu.org/gnu/glibc/glibc-${version}.tar.bz2"
|
||||||
short_desc="The GNU C library"
|
short_desc="The GNU C library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -46,7 +46,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 -march=${XBPS_MACHINE%%-*}"
|
cflags="-mno-tls-direct-seg-refs -O2 -march=${XBPS_MACHINE%%-*}"
|
||||||
echo "CFLAGS=$cflags" >> configparms
|
echo "CFLAGS=$cflags" >> configparms
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue