From b5e10411a1c764c7b7f82b8b1ff093df7546d028 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 26 Feb 2024 04:56:18 +0000 Subject: driver: added the --nm switch. --- src/output/slbt_output_info.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/output') diff --git a/src/output/slbt_output_info.c b/src/output/slbt_output_info.c index 92106a7..a95324d 100644 --- a/src/output/slbt_output_info.c +++ b/src/output/slbt_output_info.c @@ -65,6 +65,9 @@ int slbt_output_info(const struct slbt_driver_ctx * dctx) if ((len = strlen(cctx->host.as)) > midwidth) midwidth = len; + if ((len = strlen(cctx->host.nm)) > midwidth) + midwidth = len; + if ((len = strlen(cctx->host.ranlib)) > midwidth) midwidth = len; @@ -104,6 +107,9 @@ int slbt_output_info(const struct slbt_driver_ctx * dctx) if (slbt_output_info_line(fdout,"as",cctx->host.as,cctx->cfgmeta.as,midwidth)) return SLBT_SYSTEM_ERROR(dctx,0); + if (slbt_output_info_line(fdout,"nm",cctx->host.nm,cctx->cfgmeta.nm,midwidth)) + return SLBT_SYSTEM_ERROR(dctx,0); + if (slbt_output_info_line(fdout,"ranlib",cctx->host.ranlib,cctx->cfgmeta.ranlib,midwidth)) return SLBT_SYSTEM_ERROR(dctx,0); -- cgit v1.2.3