mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-09 21:28:51 +01:00
6aff8a1328
* common/util.h (EXTERN_UNLESS_MAIN_MODULE): Add the definion only
here but now without the Norcroft-C. Change all other places where it
gets defined.
* common/iobuf.h (iobuf_debug_mode): Declare unconditionally as
extern.
* common/iobuf.c (iobuf_debug_mode): Define it here.
* agent/gpg-agent.c (INCLUDED_BY_MAIN_MODULE): Define here and also in
all main modules of all other programs.
* g10/main.h: Put util.h before the local header files.
--
This change is required for use with gcc/ld's LTO feature which does
not allow common blocks. Further gcc 10 will make -fno-common the
default and thus this chnage is always needed. What a pitty.
Co-authored-by: Tomáš Mráz
GnuPG-bug-id: 4831
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
backend-cache.c | ||
backend-kbx.c | ||
backend-sqlite.c | ||
backend-support.c | ||
backend.h | ||
ChangeLog-2011 | ||
frontend.c | ||
frontend.h | ||
kbxserver.c | ||
kbxutil.c | ||
keybox-blob.c | ||
keybox-defs.h | ||
keybox-dump.c | ||
keybox-errors.c | ||
keybox-file.c | ||
keybox-init.c | ||
keybox-openpgp.c | ||
keybox-search-desc.h | ||
keybox-search.c | ||
keybox-update.c | ||
keybox-util.c | ||
keybox.h | ||
keyboxd-w32info.rc | ||
keyboxd.c | ||
keyboxd.h | ||
Makefile.am | ||
Manifest | ||
mkerrors |