grub2: Patch out GCC reference from modinfo.sh
This commit is contained in:
committed by
Vladimír Čunát
parent
fab7d6ea69
commit
464350aa01
@@ -98,6 +98,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
paxmark pms $out/sbin/grub-{probe,bios-setup}
|
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; {
|
meta = with stdenv.lib; {
|
||||||
|
|||||||
Reference in New Issue
Block a user