Don't force -msoft-float for powerpc --without-fp.

This commit is contained in:
Joseph Myers 2013-09-18 14:44:34 +00:00
parent 97a0650b8a
commit d13ef0662f
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2013-09-18 Joseph Myers <joseph@codesourcery.com>
* sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
Do not append -msoft-float.
[$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
* sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.

View File

@ -1,10 +1,5 @@
# Powerpc32 specific build options.
ifeq ($(with-fp),no)
+cflags += -msoft-float
sysdep-LDFLAGS += -msoft-float
endif
ifeq ($(subdir),gmon)
sysdep_routines += ppc-mcount compat-ppc-mcount
static-only-routines += ppc-mcount