3
0
Fork 0
forked from mirrors/nixpkgs

btrfs-progs: Fix cross-compiling

This commit is contained in:
Shea Levy 2018-02-24 08:23:10 -05:00
parent 29542830a8
commit c2911034c3
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27

View file

@ -12,12 +12,12 @@ stdenv.mkDerivation rec {
sha256 = "1palnddw3d50kyflwk1j4xapbc6jniid6j5i9dsr8l8a7nkv7ich";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
attr acl zlib libuuid e2fsprogs lzo
asciidoc xmlto docbook_xml_dtd_45 docbook_xsl libxslt zstd
nativeBuildInputs = [
pkgconfig asciidoc xmlto docbook_xml_dtd_45 docbook_xsl libxslt
];
buildInputs = [ attr acl zlib libuuid e2fsprogs lzo zstd ];
# gcc bug with -O1 on ARM with gcc 4.8
# This should be fine on all platforms so apply universally
patchPhase = "sed -i s/-O1/-O2/ configure";