summaryrefslogtreecommitdiff
path: root/libm/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-18 03:31:12 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-18 03:31:12 +0000
commite4aa2102cd8026230536a49292e71ced41db1084 (patch)
tree77a0681d5c43a17c6090584b97efb098a114d9b4 /libm/Makefile.in
parentc551124efba649ff45ac80c75a76a1bcc46312de (diff)
add infrastructure for fenv
Diffstat (limited to 'libm/Makefile.in')
-rw-r--r--libm/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/libm/Makefile.in b/libm/Makefile.in
index d10aafeb7..ddd9cf349 100644
--- a/libm/Makefile.in
+++ b/libm/Makefile.in
@@ -32,6 +32,10 @@ libm_FULL_NAME := libm-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so
libm_ARCH_DIR:=$(top_srcdir)libm/$(TARGET_ARCH)
libm_ARCH_OUT:=$(top_builddir)libm/$(TARGET_ARCH)
+CFLAGS-libm/$(TARGET_ARCH)/fpu/ += -D_GNU_SOURCE
+libm_ARCH_fpu_DIR:=$(libm_ARCH_DIR)/fpu
+libm_ARCH_fpu_OUT:=$(libm_ARCH_OUT)/fpu
+
ifeq ($(UCLIBC_HAS_FPU),y)
ifeq ($(DO_C99_MATH),y)
-include $(libm_ARCH_DIR)/Makefile.arch
@@ -162,4 +166,4 @@ $(libm_MOBJ:.o=.os): $(libm_MSRC)
$(compile.m)
libm_clean:
- $(RM) $(libm_OUT)/{,*/}*.{o,os,oS,a}
+ $(RM) $(libm_OUT)/{,*/,*/*/}*.{o,os,oS,a}