bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Make 4.4.0.91 on GNU/Hurd


From: Paul Smith
Subject: Re: GNU Make 4.4.0.91 on GNU/Hurd
Date: Sun, 19 Feb 2023 15:49:32 -0500
User-agent: Evolution 3.46.4 (by Flathub.org)

On Sun, 2023-02-19 at 21:46 +0100, Bruno Haible wrote:
> > You'll likely see this same issue with the other systems that don't
> > provide a "cc".
> 
> Yes, I see these also on:
>   - Debian 11.1
>   - Solaris 11.4 (64-bit)
>   - Solaris 11 OmniOS
>   - Solaris 11 OpenIndiana

The patch below should fix it but it's probably not worth the effort of
retesting all these systems.


--- a/tests/scripts/features/archives
+++ b/tests/scripts/features/archives
@@ -265,16 +265,16 @@ mylib.a: mylib.a(a.o b.o)
 !,
               $vars, "Compile a.c\nCompile b.c\n$ar $arflags mylib.a a.o 
b.o\n${create2}rm b.o a.o");

-run_make_test(undef, $arvar, "#MAKE#: 'mylib.a' is up to date.");
+run_make_test(undef, $vars, "#MAKE#: 'mylib.a' is up to date.");

 # Now update one of the source files and it should be compiled and archived

 sleep(2);
 touch('b.c');

-run_make_test(undef, $arvar, "Compile b.c\n$ar $arflags mylib.a b.o\n${add2}rm 
b.o");
+run_make_test(undef, $vars, "Compile b.c\n$ar $arflags mylib.a b.o\n${add2}rm 
b.o");

-run_make_test(undef, $arvar, "#MAKE#: 'mylib.a' is up to date.");
+run_make_test(undef, $vars, "#MAKE#: 'mylib.a' is up to date.");

 unlink('a.c', 'b.c', 'a.o', 'b.o', 'mylib.a');
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]