Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/machine/mips/Makefile.inc')
-rw-r--r--newlib/libm/machine/mips/Makefile.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/libm/machine/mips/Makefile.inc b/newlib/libm/machine/mips/Makefile.inc
new file mode 100644
index 000000000..febae0d07
--- /dev/null
+++ b/newlib/libm/machine/mips/Makefile.inc
@@ -0,0 +1,10 @@
+%C%_src = \
+ %D%/feclearexcept.c %D%/fegetenv.c %D%/fegetexceptflag.c \
+ %D%/fegetround.c %D%/feholdexcept.c %D%/feraiseexcept.c %D%/fesetenv.c \
+ %D%/fesetexceptflag.c %D%/fesetround.c %D%/fetestexcept.c %D%/feupdateenv.c \
+ %D%/fenv.c
+
+libm_a_SOURCES += $(%C%_src)
+
+# fenv.c cannot be compiled as mips16 since it uses the cfc1 instruction.
+libm_a_CFLAGS_%C%_fenv.c = -mno-mips16