|
Lines 26-34
src_prepare() {
Link Here
|
| 26 |
# Respect CFLAGS, LDFLAGS |
26 |
# Respect CFLAGS, LDFLAGS |
| 27 |
eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch |
27 |
eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch |
| 28 |
|
28 |
|
| 29 |
# Changing Makefile.all.am to disable SSP |
|
|
| 30 |
eapply "${FILESDIR}"/${PN}-3.7.0-fno-stack-protector.patch |
| 31 |
|
| 32 |
# Allow users to test their own patches |
29 |
# Allow users to test their own patches |
| 33 |
eapply_user |
30 |
eapply_user |
| 34 |
|
31 |
|
|
Lines 42-55
src_configure() {
Link Here
|
| 42 |
# Respect ar, bug #468114 |
39 |
# Respect ar, bug #468114 |
| 43 |
tc-export AR |
40 |
tc-export AR |
| 44 |
|
41 |
|
| 45 |
# -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
42 |
# -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
| 46 |
# while compiling insn_sse.c in none/tests/x86 |
43 |
# while compiling insn_sse.c in none/tests/x86 |
| 47 |
# -fstack-protector more undefined references to __guard and __stack_smash_handler |
44 |
# -fstack-protector more undefined references to __guard and __stack_smash_handler |
| 48 |
# because valgrind doesn't link to glibc (bug #114347) |
45 |
# because valgrind doesn't link to glibc (bug #114347) |
| 49 |
# -m64 -mx32 for multilib-portage, bug #398825 |
46 |
# -fstack-protector-all Fails same way as -fstack-protector/-fstack-protector-strong. |
| 50 |
# -ggdb3 segmentation fault on startup |
47 |
# Note: -fstack-protector-explicit is a no-op for Valgrind, no need to strip it |
|
|
48 |
# -fstack-protector-strong See -fstack-protector (bug #620402) |
| 49 |
# -m64 -mx32 for multilib-portage, bug #398825 |
| 50 |
# -ggdb3 segmentation fault on startup |
| 51 |
filter-flags -fomit-frame-pointer |
51 |
filter-flags -fomit-frame-pointer |
| 52 |
filter-flags -fstack-protector |
52 |
filter-flags -fstack-protector |
|
|
53 |
filter-flags -fstack-protector-all |
| 54 |
filter-flags -fstack-protector-strong |
| 53 |
filter-flags -m64 -mx32 |
55 |
filter-flags -m64 -mx32 |
| 54 |
replace-flags -ggdb3 -ggdb2 |
56 |
replace-flags -ggdb3 -ggdb2 |
| 55 |
|
57 |
|
| 56 |
- |
|
|