From 55e42f2954ccd98e75706743e46e560a78f58fff Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 29 Mar 2024 03:55:26 +0000 Subject: slbt_init_host_params(): cfgmeta: mark tools derived from ranlib as such. --- src/host/slbt_host_params.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/host') diff --git a/src/host/slbt_host_params.c b/src/host/slbt_host_params.c index 39272ef..d947b14 100644 --- a/src/host/slbt_host_params.c +++ b/src/host/slbt_host_params.c @@ -24,6 +24,7 @@ /* annotation strings */ static const char cfgexplicit[] = "command-line argument"; static const char cfghost[] = "derived from "; +static const char cfgranlib[] = "derived from "; static const char cfgtarget[] = "derived from "; static const char cfgcompiler[] = "derived from "; static const char cfgnmachine[] = "native (cached in ccenv/host.mk)"; @@ -354,6 +355,7 @@ slbt_hidden int slbt_init_host_params( if (mark) { strcpy(drvhost->as,host->ranlib); strcpy(&drvhost->as[mark-host->ranlib],"as"); + cfgmeta->as = cfgranlib; } } @@ -428,6 +430,7 @@ slbt_hidden int slbt_init_host_params( if (mark) { strcpy(drvhost->windres,host->ranlib); strcpy(&drvhost->windres[mark-host->ranlib],"windres"); + cfgmeta->windres = cfgranlib; } } @@ -466,6 +469,7 @@ slbt_hidden int slbt_init_host_params( if (mark) { strcpy(drvhost->dlltool,host->ranlib); strcpy(&drvhost->dlltool[mark-host->ranlib],"dlltool"); + cfgmeta->dlltool = cfgranlib; } } -- cgit v1.2.3