sumokoin: fix build with gcc 13

This commit is contained in:
Weijia Wang 2024-02-05 13:57:44 +01:00
parent a819aea202
commit 7ee2a7b969

View file

@ -43,6 +43,8 @@ stdenv.mkDerivation rec {
zeromq zeromq
]; ];
env.CXXFLAGS = "-include cstdint";
# cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security] # cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];