浏览代码

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.
Waldemar Brodkorb 9 年之前
父节点
当前提交
7136bb422a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      libc/sysdeps/linux/powerpc/Makefile.arch

+ 2 - 1
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 \