jsoncpp: fix build on 32-bit arm
This commit is contained in:
parent
d09c84aa00
commit
65d4935c0d
@ -30,8 +30,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake python ];
|
nativeBuildInputs = [ cmake python ];
|
||||||
|
|
||||||
# fix inverted sense in isAnyCharRequiredQuoting on aarch64. See: https://github.com/open-source-parsers/jsoncpp/pull/1120
|
# fix inverted sense in isAnyCharRequiredQuoting on arm. See: https://github.com/open-source-parsers/jsoncpp/pull/1120
|
||||||
patches = stdenv.lib.optionals stdenv.isAarch64 [
|
patches = stdenv.lib.optionals (stdenv.isAarch64 || stdenv.isAarch32) [
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://github.com/open-source-parsers/jsoncpp/commit/9093358efae9e5981aa60013487fc7215f040a59.patch";
|
url = "https://github.com/open-source-parsers/jsoncpp/commit/9093358efae9e5981aa60013487fc7215f040a59.patch";
|
||||||
sha256 = "1wiqp70sck2md14sfc0zdkblqk9750cl55ykf9d6b9vs1ifzzzq5";
|
sha256 = "1wiqp70sck2md14sfc0zdkblqk9750cl55ykf9d6b9vs1ifzzzq5";
|
||||||
|
Loading…
Reference in New Issue
Block a user