about summary refs log tree commit diff
path: root/sysdeps/powerpc/nofpu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/nofpu/Makefile')
-rw-r--r--sysdeps/powerpc/nofpu/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/powerpc/nofpu/Makefile b/sysdeps/powerpc/nofpu/Makefile
new file mode 100644
index 0000000000..f85cb0b7a3
--- /dev/null
+++ b/sysdeps/powerpc/nofpu/Makefile
@@ -0,0 +1,9 @@
+# Makefile fragment for PowerPC with no FPU.
+
+ifeq ($(subdir),soft-fp)
+sysdep_routines += $(gcc-single-routines) $(gcc-double-routines) sim-full
+endif
+
+ifeq ($(subdir),math)
+libm-support += fenv_const fe_nomask
+endif