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 = ''
|
patchPhase = ''
|
||||||
sed -i -e s,/usr/local,, -e s,/usr,$out, common.mk
|
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 ];
|
buildInputs = [ libuuid lzo zlib acl ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user