From 29d73d867e1df54d703542cf7d076c5620dc2fb7 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 4 Oct 2013 16:02:33 +0000 Subject: Move powerpc ports pieces to libc. --- sysdeps/powerpc/powerpc32/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sysdeps/powerpc/powerpc32/Makefile') diff --git a/sysdeps/powerpc/powerpc32/Makefile b/sysdeps/powerpc/powerpc32/Makefile index 3fdb4b4..cf620c8 100644 --- a/sysdeps/powerpc/powerpc32/Makefile +++ b/sysdeps/powerpc/powerpc32/Makefile @@ -1,5 +1,14 @@ # Powerpc32 specific build options. +# Some Powerpc32 variants assume soft-fp is the default even though there is +# an fp variant so provide -mhard-float if --with-fp is explicitly passed. + +ifeq ($(with-fp),yes) ++cflags += -mhard-float +ASFLAGS += -mhard-float +sysdep-LDFLAGS += -mhard-float +endif + ifeq ($(subdir),gmon) sysdep_routines += ppc-mcount compat-ppc-mcount static-only-routines += ppc-mcount -- cgit v1.1