]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
glibc: Add some commands to fix the testsuite.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 May 2010 22:15:03 +0000 (00:15 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 May 2010 22:15:03 +0000 (00:15 +0200)
pkgs/core/glibc/glibc.nm

index f1380d85437a2622dbe1511b90cf7f20f9b46992..a9f10af224edeec2e6ba4cee78cf88cab922a1d4 100644 (file)
@@ -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