mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
glibc: use proper options for armv6 and armv7.
This commit is contained in:
parent
7ceca394c5
commit
3af1943fc5
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'glibc'
|
# Template file for 'glibc'
|
||||||
pkgname=glibc
|
pkgname=glibc
|
||||||
version=2.18
|
version=2.18
|
||||||
revision=5
|
revision=6
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
# Force creation of -dbg pkg, required by valgrind.
|
# Force creation of -dbg pkg, required by valgrind.
|
||||||
force_debug_pkgs=yes
|
force_debug_pkgs=yes
|
||||||
|
@ -47,7 +47,8 @@ do_configure() {
|
||||||
i686) export CFLAGS+=" -mno-tls-direct-seg-refs";;
|
i686) export CFLAGS+=" -mno-tls-direct-seg-refs";;
|
||||||
# Force hard float ABI.
|
# Force hard float ABI.
|
||||||
# To build for soft float: --with-float=soft --without-fp.
|
# To build for soft float: --with-float=soft --without-fp.
|
||||||
arm*) configure_args+=" --with-float=hard";;
|
armv6l*) configure_args+=" --with-march=armv6 --with-fpu=vfp --with-float=hard";;
|
||||||
|
armv7l*) configure_args+=" --with-march=armv7-a --with-fpu=vfpv3 --with-float=hard";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue