8a45d08c4a
Fixes: http://autobuild.buildroot.net/results/e4c/e4c65ecf3ec011c39a80fd5d39ea0742c6171b06/ http://autobuild.buildroot.net/results/1c1/1c1080795c5f65c3e8a6b1bd79ca9dd997409260/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
32 lines
1019 B
Diff
32 lines
1019 B
Diff
From 7136bb422a0681d787d07dc2936f08395b8a1007 Mon Sep 17 00:00:00 2001
|
|
From: Waldemar Brodkorb <wbx@uclibc-ng.org>
|
|
Date: Sat, 8 Oct 2016 18:03:27 +0200
|
|
Subject: [PATCH] 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.
|
|
|
|
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
|
|
---
|
|
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 7c09c87..f0144e7 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 \
|
|
--
|
|
2.1.4
|
|
|