about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 8c6c6b553b..c96d0827e3 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -1,3 +1,13 @@
+ifeq ($(subdir), math)
+sysdep_routines += setfpucw
+extra-objs += ieee-fpucw.o
+install-lib += libieee.a
+
+$(objpfx)libieee.a: $(objpfx)ieee-fpucw.o
+	rm -f $@
+	ln $< $@
+endif
+
 ifeq ($(subdir), io)
 sysdep_routines += fxstat lxstat xstat
 endif
@@ -7,17 +17,13 @@ sysdep_routines += xmknod mount umount s_ptrace
 headers += sys/mount.h
 endif
 
-#ifeq ($(subdir), posix)
-#sysdep_routines := $(sysdep_routines) setpgrp
-#endif
-
 ifeq ($(subdir), time)
-sysdep_routines := $(sysdep_routines) adjtimex
+sysdep_routines += adjtimex
 headers += sys/timex.h
 endif
 
 ifeq ($(subdir), sysvipc)
-sysdep_routines := $(sysdep_routines) ipc
+sysdep_routines += ipc
 endif
 
 ifeq ($(subdir), socket)