Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libplugin: fix compilation issue on recent gccs.
They now use -fno-common by default, so duplicated variables cause a link error: /usr/bin/ld: common/utils.o:(.bss+0x10): multiple definition of `chainparams'; plugins/libplugin.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:408: plugins/autoclean] Error 1 This was introduced in 9ebfdf0. Fixes: #3597 Signed-off-by: Rusty Russell <[email protected]> Changelog-Fixed: Multiple definition of chainparams on Fedora (or other really recent gcc)
- Loading branch information