glibc40/eglibc-mandriva-testsuite-ldbl-bits.patch

20 lines
698 B
Diff
Raw Normal View History

--- glibc-2.27/stdlib/Makefile.0118~ 2018-02-02 20:31:07.402589690 +0100
+++ glibc-2.27/stdlib/Makefile 2018-02-02 20:31:53.077710331 +0100
@@ -190,9 +190,16 @@ test-canon-ARGS = --test-dir=${common-ob
bug-fmtmsg1-ENV = SEV_LEVEL=foo,11,newsev
2012-02-01 14:42:15 +04:00
+isomac-includes = -I../include $(+sysdep-includes) $(sysincludes) -I..
+ifeq (powerpc:8, $(base-machine):$(sizeof-long-double))
+# XXX only necessary for bootstrapping...
+isomac-includes += -I../libio -I../stdlib -I../wcsmbs
+endif
+
2012-02-01 14:42:15 +04:00
$(objpfx)isomac.out: $(objpfx)isomac
$(dir $<)$(notdir $<) '$(CC)' \
'-I../include $(+sysdep-includes) $(sysincludes) -I..' > $@; \
+ '$(isomac-includes)' > $<.out \
$(evaluate-test)
2012-02-01 14:42:15 +04:00
isomac-CFLAGS = -O