diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-11-23 09:12:43 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-11-23 09:12:43 +0000 |
commit | e20798031a96d8da9825badb6c43986783cd64eb (patch) | |
tree | e2417fe3ca51160e7c168014f2721f375905b1fc /libm | |
parent | e63b3fd32f12c644d75590112814287a02431d44 (diff) |
Finish ajusting math lib options. Close out a couple of todo items.
Diffstat (limited to 'libm')
-rw-r--r-- | libm/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libm/Makefile b/libm/Makefile index d60f52d6c..c82ca3f25 100644 --- a/libm/Makefile +++ b/libm/Makefile @@ -28,7 +28,6 @@ LIBM_SHARED_FULLNAME=libm-$(MAJOR_VERSION).$(MINOR_VERSION).so TARGET_CC= $(TOPDIR)extra/gcc-uClibc/$(TARGET_ARCH)-uclibc-gcc TARGET_CFLAGS+=-D_IEEE_LIBM -D_ISOC99_SOURCE -D_SVID_SOURCE - ifeq ($(strip $(DO_C99_MATH)),true) CSRC = e_acos.c e_acosh.c e_asin.c e_atan2.c e_atanh.c e_cosh.c\ e_exp.c e_fmod.c e_gamma.c e_gamma_r.c e_hypot.c e_j0.c\ @@ -59,8 +58,11 @@ COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(COBJS) - +ifneq ($(strip $(HAS_FLOATING_POINT)),true) +all: clean +else all: $(OBJS) $(COBJS1) $(LIBM) +endif $(LIBM): ar-target @if [ -f $(LIBM) ] ; then \ |