From dcf6a5f80a8bf402e0ba8bd61eaae7d06a9e46c6 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 28 Feb 2024 08:12:48 +0000 Subject: ar mode: driver: added -Wdlsyms, -Wdlunit. --- include/slibtool/slibtool.h | 1 + include/slibtool/slibtool_output.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index e6d5ed5..ffa41c2 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -314,6 +314,7 @@ struct slbt_common_ctx { char ** cargv; char ** targv; char * libname; + const char * dlunit; const char * ccwrap; const char * target; const char * output; diff --git a/include/slibtool/slibtool_output.h b/include/slibtool/slibtool_output.h index 3320990..263e4d7 100644 --- a/include/slibtool/slibtool_output.h +++ b/include/slibtool/slibtool_output.h @@ -11,7 +11,8 @@ #define SLBT_OUTPUT_ARCHIVE_SYMBOLS 0x00000004 #define SLBT_OUTPUT_ARCHIVE_ARMAPS 0x00000008 #define SLBT_OUTPUT_ARCHIVE_MAPFILE 0x00000010 -#define SLBT_OUTPUT_ARCHIVE_NOSORT 0x00000020 +#define SLBT_OUTPUT_ARCHIVE_DLSYMS 0x00000020 +#define SLBT_OUTPUT_ARCHIVE_NOSORT 0x00000040 /* pretty-printer flags */ #define SLBT_PRETTY_YAML SLBT_PRETTY(0x00000001) -- cgit v1.2.3