patches/glibc/ports-2.6.1/130-powerpc-softfloat.patch
author Matthieu Crapet <mcrapet@gmail.com>
Wed Jun 06 12:03:12 2012 +0200 (2012-06-06)
changeset 2991 252ade1e9e17
permissions -rw-r--r--
libc/eglibc: fix missing LIBC_TRY_CC_OPTION definition (eglibc 2.15)

Upstream SVN is currently broken:
http://www.eglibc.org/svn/branches/eglibc-2_15/libc/

LIBC_TRY_CC_OPTION macro is not defined in aclocal.m4.
This patch fix the configure script.

Once upstream branch will be fixed this patch could be reverted.

Related patch (committed to eglibc trunk):
Use autoconf macro for testing compiler options with empty input
http://sourceware.org/ml/libc-alpha/2012-03/msg00816.html

Signed-off-by: Matthieu Crapet <mcrapet@gmail.com>

diff -r 1f6c8e4b2b92 -r d10afc5bcc25
patches/eglibc/2_15/110-aclocal-LIBC_TRY_CC_OPTION.patch
     1 From: http://sourceware.org/ml/crossgcc/2008-10/msg00044.html
     2 From: http://sources.redhat.com/ml/libc-ports/2007-06/msg00005.html
     3 
     4 2007-06-07  Steven Munroe  <sjmunroe@us.ibm.com>
     5 
     6     * sysdeps/powerpc/nofpu/Makefile: Remove fe_nomask from libm-support.
     7 
     8 diff -urN glibc-2.6.orig/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile glibc-2.6/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile
     9 --- glibc-2.6.orig/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile	2006-11-22 09:13:11.000000000 -0600
    10 +++ glibc-2.6/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile	2007-06-07 09:53:05.708240976 -0500
    11 @@ -6,7 +6,7 @@
    12  endif
    13  
    14  ifeq ($(subdir),math)
    15 -libm-support += fenv_const fe_nomask
    16 +libm-support += fenv_const
    17  CPPFLAGS += -I../soft-fp/
    18  # The follow CFLAGS are a work around for GCC Bugzilla Bug 29253
    19  # "expand_abs wrong default code for floating point"
    20 
    21