From: Alan Modra Date: Sat, 5 Oct 2013 07:35:54 +0000 (+0930) Subject: Set arch_minimum_kernel for powerpc*le. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5f593430c7748f64321ecac36162646420a6aaf;p=thirdparty%2Fglibc.git Set arch_minimum_kernel for powerpc*le. --- diff --git a/ChangeLog b/ChangeLog index b18cdaacd89..50a6b110c27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-11-16 Alan Modra + + * sysdeps/unix/sysv/linux/powerpc/configure.in (arch_minimum_kernel): + Set for powerpc*le. + * sysdeps/unix/sysv/linux/powerpc/configure: Regenerate. + 2013-11-16 Alan Modra [BZ #5268] diff --git a/sysdeps/unix/sysv/linux/powerpc/configure b/sysdeps/unix/sysv/linux/powerpc/configure index 7df7e481f0c..a186ccd2f20 100644 --- a/sysdeps/unix/sysv/linux/powerpc/configure +++ b/sysdeps/unix/sysv/linux/powerpc/configure @@ -75,3 +75,10 @@ $as_echo "$libc_cv_mabi_ibmlongdouble" >&6; } as_fn_error $? "this configuration requires -mlong-double-128 IBM extended format support" "$LINENO" 5 fi fi + +case "$config_machine" in +# FIXME: This should really be 3.12. +# The lower version here matches common buildroot kernel headers used +# by developers during LE bootstrap. 3.9 headers seem to work OK. + powerpc*le) arch_minimum_kernel=3.9 ;; +esac diff --git a/sysdeps/unix/sysv/linux/powerpc/configure.in b/sysdeps/unix/sysv/linux/powerpc/configure.in index 1768ab1f994..622835263f4 100644 --- a/sysdeps/unix/sysv/linux/powerpc/configure.in +++ b/sysdeps/unix/sysv/linux/powerpc/configure.in @@ -35,3 +35,10 @@ long double foobar (long double x) { return x; }], AC_MSG_ERROR([this configuration requires -mlong-double-128 IBM extended format support]) fi fi + +case "$config_machine" in +# FIXME: This should really be 3.12. +# The lower version here matches common buildroot kernel headers used +# by developers during LE bootstrap. 3.9 headers seem to work OK. + powerpc*le) arch_minimum_kernel=3.9 ;; +esac