mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Making mtd-utils build with gcc 4.5.1
svn path=/nixpkgs/branches/stdenv-updates/; revision=24030
This commit is contained in:
parent
7867c5ee47
commit
6182f020f2
@ -14,6 +14,9 @@ stdenv.mkDerivation {
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e s,/usr/local,, -e s,/usr,$out, common.mk
|
||||
|
||||
# gcc 4.5.1 issues a warning where 4.4.3 did not
|
||||
sed -i -e s/-Werror// ubi-utils/old-utils/Makefile
|
||||
'';
|
||||
|
||||
buildInputs = [ libuuid lzo zlib acl ];
|
||||
|
Loading…
Reference in New Issue
Block a user