mariadb: fix build on riscv

This commit is contained in:
Nick Cao 2022-07-01 17:57:17 +08:00
parent 95e79164be
commit ee44aeef70
No known key found for this signature in database
GPG Key ID: 068A56CEF48FA2C1

View File

@ -234,6 +234,7 @@ in stdenv.mkDerivation (common // {
'';
CXXFLAGS = lib.optionalString stdenv.hostPlatform.isi686 "-fpermissive";
NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isRiscV "-latomic";
});
in {
mariadb_104 = mariadbPackage {