4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-09 02:29:07 +08:00
Kito Cheng 5c5ae2c086 newlib: Add more FreeBSD files for non LDBL_EQ_DBL support
For RISC-V, AArch64, i386, and x86_64

- k_tanl.c is required for tanl; the linker will report `__kernel_tanl`
  not found when tanl is called.
- s_cospil.c and s_sinpil.c are added for cospil and sinpil, which are already
  available for ld80 but not for ld128.
2024-07-16 15:19:21 -04:00

16 lines
370 B
Makefile

%C%_lsrc = \
%D%/e_powl.c %D%/s_erfl.c %D%/s_exp2l.c %D%/s_expl.c \
%D%/s_logl.c %D%/b_tgammal.c %D%/invtrig.c \
%D%/e_lgammal_r.c %D%/k_cosl.c %D%/k_sinl.c \
%D%/k_tanl.c %D%/s_sinpil.c %D%/s_cospil.c
libm_a_CFLAGS_%C% = -fbuiltin -fno-math-errno
if HAVE_LONG_DOUBLE
libm_a_SOURCES += $(%C%_lsrc)
endif # HAVE_LONG_DOUBLE
LIBM_CHEWOUT_FILES +=
LIBM_CHAPTERS +=