GCC 10 now defaults to using -fno-common when building, which will cause a build error with ZuluCrypt due to security.h. The fix is just to add an extern to the variable declaration since it is actually initialized and contained inside security.c. This allows the package to compile with -fno-common enabled.
(this is breaking the build in Fedora Rawhide currently).
GCC 10 now defaults to using
-fno-common
when building, which will cause a build error with ZuluCrypt due tosecurity.h
. The fix is just to add an extern to the variable declaration since it is actually initialized and contained insidesecurity.c
. This allows the package to compile with-fno-common
enabled.(this is breaking the build in Fedora Rawhide currently).