Summary: | sys-boot/grub-0.97-r16 fails building after switching to the 17.0 profiles | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Meyer <r.meyer> |
Component: | Profiles | Assignee: | Ian Stakenvicius (RETIRED) <axs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | base-system, jstein, spiderx |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
*** This bug has been marked as a duplicate of bug 608460 *** |
sys-boot/grub-0.97-r16 fails to build, because the 17.0 profile defaults to pie executables. This is taken care of in 860_all_grub-0.97-pie.patch, but there the command line switch is -nopie, instead of -no-pie. Changing 860_all_grub-0.97-pie.patch allowd me to build sys-boot/grub-0.97-r16. peregrin ~ # diff patch/860_all_grub-0.97-pie.patch patch/860_all_grub-0.97-pie.patch.new 20,21c20,21 < + STAGE1_CFLAGS="$STAGE1_CFLAGS -nopie" < + STAGE2_CFLAGS="$STAGE2_CFLAGS -nopie" --- > + STAGE1_CFLAGS="$STAGE1_CFLAGS -no-pie" > + STAGE2_CFLAGS="$STAGE2_CFLAGS -no-pie"