grub2: Patch out GCC reference from modinfo.sh

This commit is contained in:
Tuomas Tynkkynen 2015-10-12 23:39:34 +03:00 committed by Vladimír Čunát
parent fab7d6ea69
commit 464350aa01

View file

@ -98,6 +98,9 @@ stdenv.mkDerivation rec {
postInstall = ''
paxmark pms $out/sbin/grub-{probe,bios-setup}
# Avoid a runtime reference to gcc
sed -i $out/lib/grub/*/modinfo.sh -e "/grub_target_cppflags=/ s|'.*'|' '|"
'';
meta = with stdenv.lib; {