From 675322a53596a355e4625e23fff6d2725c3463d4 Mon Sep 17 00:00:00 2001 From: Geoff Keating Date: Thu, 6 Dec 2001 09:17:26 +0000 Subject: * config.make.in (with-fp): Define from configure. * configure.in: Substitute with_fp. * configure: Regenerate. * powerpc/Makefile: Set -msoft-float when --without-fp is specified, and don't change FPU environment. 2001-12-06 Geoff Keating * config.make.in (with-fp): Define from configure. * configure.in: Substitute with_fp. * configure: Regenerate. * sysdeps/powerpc/Makefile: Set -msoft-float when --without-fp is specified, and don't change FPU environment. --- sysdeps/powerpc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysdeps/powerpc/Makefile') diff --git a/sysdeps/powerpc/Makefile b/sysdeps/powerpc/Makefile index a29e387d83..e5b026d05f 100644 --- a/sysdeps/powerpc/Makefile +++ b/sysdeps/powerpc/Makefile @@ -3,9 +3,14 @@ +cflags += -mnew-mnemonics -Wa,-mppc -mpowerpc asm-CPPFLAGS += -Wa,-mppc +ifeq ($(with-fp),no) ++cflags += -msoft-float +sysdep-LDFLAGS += -msoft-float +else ifeq ($(subdir),math) libm-support += fenv_const fe_nomask endif +endif ifeq ($(subdir),gmon) sysdep_routines += ppc-mcount -- cgit v1.2.3