From 7136bb422a0681d787d07dc2936f08395b8a1007 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 8 Oct 2016 18:03:27 +0200 Subject: 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. --- libc/sysdeps/linux/powerpc/Makefile.arch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.3