From: Michael Tremer Date: Sun, 30 May 2010 22:15:03 +0000 (+0200) Subject: glibc: Add some commands to fix the testsuite. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=342b9bc7313405ad3a6bfa485abd00293b692747;p=ipfire-3.x.git glibc: Add some commands to fix the testsuite. --- diff --git a/pkgs/core/glibc/glibc.nm b/pkgs/core/glibc/glibc.nm index f1380d854..a9f10af22 100644 --- a/pkgs/core/glibc/glibc.nm +++ b/pkgs/core/glibc/glibc.nm @@ -159,6 +159,14 @@ define STAGE_PREPARE # Use gnu hash style cd $(DIR_APP) && sed -i Makeconfig \ -e "s/-Wl,--hash-style=both/-Wl,--hash-style=gnu -Wl,-O1/" + + # stdlib/tst-putenvmod is not linked against libc. + cd $(DIR_APP) && sed -i stdlib/Makefile \ + -e "s/^CFLAGS-tst-putenvmod.c.*/& -fno-stack-protector/g" + + # stdio-common/bug22 hits timeout. + cd $(DIR_APP) && sed -i stdio-common/bug22.c \ + -e "s/#define TIMEOUT.*/#define TIMEOUT 300/" endef define STAGE_BUILD