summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-08 18:03:27 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-08 18:03:27 +0200
commit7136bb422a0681d787d07dc2936f08395b8a1007 (patch)
tree60f07bd16d0da9d95dd3b8d8fb37255c9400b118 /libc
parent9b1077dc70e52ee85a718bce3fcfec7ae9af2967 (diff)
ppc: do not include copysgnl.c if UCLIBC_HAS_LONG_DOUBLE_MATH enabled
Fixes compilation of uClibc-ng when UCLIBC_HAS_LONG_DOUBLE_MATH is used.
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/powerpc/Makefile.arch3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/powerpc/Makefile.arch b/libc/sysdeps/linux/powerpc/Makefile.arch
index 7c09c879e..f0144e7b9 100644
--- a/libc/sysdeps/linux/powerpc/Makefile.arch
+++ b/libc/sysdeps/linux/powerpc/Makefile.arch
@@ -5,7 +5,8 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CSRC-y := __syscall_error.c ioctl.c copysignl.c
+CSRC-y := __syscall_error.c ioctl.c
+CSRC-$(if $(UCLIBC_HAS_LONG_DOUBLE_MATH),,y) += copysignl.c
SSRC-y := \
__longjmp.S setjmp.S bsd-setjmp.S bsd-_setjmp.S brk.S \