forked from mirrors/nixpkgs
xorg.sessreg: Fix build on gcc-5
This commit is contained in:
parent
e96ea9712c
commit
936dfeb700
|
@ -440,4 +440,8 @@ in
|
|||
configureFlags = "--with-cpp=${args.mcpp}/bin/mcpp";
|
||||
};
|
||||
|
||||
sessreg = attrs: attrs // {
|
||||
preBuild = "sed -i 's|gcc -E|gcc -E -P|' man/Makefile";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue