Skip to content

Commit

Permalink
btrfs-progs: Fix cross-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed Feb 24, 2018
1 parent 2954283 commit c291103
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/tools/filesystems/btrfs-progs/default.nix
Expand Up @@ -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";
Expand Down

0 comments on commit c291103

Please sign in to comment.