mhogomchungu / zuluCrypt

zuluCrypt is a front end to cryptsetup and tcplay and it allows easy management of encrypted block devices
https://mhogomchungu.github.io/zuluCrypt
Other
504 stars 60 forks source link

Add extern to variable declaration in header #140

Closed imciner2 closed 4 years ago

imciner2 commented 4 years ago

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).