Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 324743
Collapse All | Expand All

(-)yaboot-1.3.13.orig/Config.gentoo (+6 lines)
Line 0 Link Here
1
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
2
	then echo "$(1)"; else echo "$(2)"; fi)
3
4
CFLAGS     += $(call check_gcc, -fno-stack-protector)
5
CFLAGS     += $(call check_gcc, --nopie)
6
(-)yaboot-1.3.13.orig/Makefile (-1 / +2 lines)
Lines 1-6 Link Here
1
## Setup
1
## Setup
2
2
3
include Config
3
include Config
4
include Config.gentoo
4
5
5
VERSION = 1.3.13
6
VERSION = 1.3.13
6
# Debug mode (spam/verbose)
7
# Debug mode (spam/verbose)
Lines 79-85 HOSTCFLAGS = -O2 $(CFLAGS) -Wall -I/usr/ Link Here
79
OBJS = second/crt0.o second/yaboot.o second/cache.o second/prom.o second/file.o \
80
OBJS = second/crt0.o second/yaboot.o second/cache.o second/prom.o second/file.o \
80
	second/partition.o second/fs.o second/cfg.o second/setjmp.o second/cmdline.o \
81
	second/partition.o second/fs.o second/cfg.o second/setjmp.o second/cmdline.o \
81
	second/fs_of.o second/fs_ext2.o second/fs_iso.o second/iso_util.o \
82
	second/fs_of.o second/fs_ext2.o second/fs_iso.o second/iso_util.o \
82
	lib/nosys.o lib/string.o lib/strtol.o lib/vsprintf.o lib/ctype.o lib/malloc.o lib/strstr.o
83
	lib/nosys.o lib/string.o lib/strtol.o lib/vsprintf.o lib/ctype.o lib/malloc.o lib/strstr.o lib/ssp.o
83
84
84
ifeq ($(USE_MD5_PASSWORDS),y)
85
ifeq ($(USE_MD5_PASSWORDS),y)
85
OBJS += second/md5.o
86
OBJS += second/md5.o
(-)yaboot-1.3.14.orig/lib/ssp.c (+7 lines)
Line 0 Link Here
1
extern void __stack_chk_fail_local (void) ;
2
3
void
4
__stack_chk_fail_local (void)
5
{
6
  return;
7
}

Return to bug 324743