about summary refs log tree commit diff
path: root/sysdeps/powerpc/Makefile
diff options
context:
space:
mode:
authorGeoff Keating <geoffk@cygnus.com>2001-12-06 09:17:26 +0000
committerGeoff Keating <geoffk@cygnus.com>2001-12-06 09:17:26 +0000
commit675322a53596a355e4625e23fff6d2725c3463d4 (patch)
treee1606fcbae85ff52518a25347303adba630e62f4 /sysdeps/powerpc/Makefile
parent383bd1c5033b466ffcc1a0be766d8a8b003c73e9 (diff)
downloadglibc-675322a53596a355e4625e23fff6d2725c3463d4.tar.gz
glibc-675322a53596a355e4625e23fff6d2725c3463d4.tar.xz
glibc-675322a53596a355e4625e23fff6d2725c3463d4.zip
* 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  <geoffk@redhat.com>

	* 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.
Diffstat (limited to 'sysdeps/powerpc/Makefile')
-rw-r--r--sysdeps/powerpc/Makefile5
1 files changed, 5 insertions, 0 deletions
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