aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/0003-gcc-poison-system-directories.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-09-12 05:51:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-09-12 05:58:11 +0000
commita1cc438986c08164b793eb98a7ea5fef50d650d9 (patch)
tree9e942852a5cacef48b91bdadf483402a676be067 /main/gcc/0003-gcc-poison-system-directories.patch
parent20dc7c9c68ccbb0021391395073eb84bb2c21915 (diff)
downloadaports-a1cc438986c08164b793eb98a7ea5fef50d650d9.tar.gz
aports-a1cc438986c08164b793eb98a7ea5fef50d650d9.tar.bz2
aports-a1cc438986c08164b793eb98a7ea5fef50d650d9.tar.xz
main/gcc: upgrade to 9.2.0
Diffstat (limited to 'main/gcc/0003-gcc-poison-system-directories.patch')
-rw-r--r--main/gcc/0003-gcc-poison-system-directories.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/gcc/0003-gcc-poison-system-directories.patch b/main/gcc/0003-gcc-poison-system-directories.patch
index 05138976c3..0d6d964d3e 100644
--- a/main/gcc/0003-gcc-poison-system-directories.patch
+++ b/main/gcc/0003-gcc-poison-system-directories.patch
@@ -141,14 +141,14 @@ diff --git a/gcc/gcc.c b/gcc/gcc.c
index a716f708259..02b3cd39fc2 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
-@@ -1037,6 +1037,8 @@ proper position among the other output files. */
- "%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \
+@@ -1061,6 +1060,8 @@
+ "-z relro -z now " \
"%X %{o*} %{e*} %{N} %{n} %{r}\
- %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}} \
+ %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!r:%{!nostartfiles:%S}}} \
+ %{Wno-poison-system-directories:--no-poison-system-directories} \
+ %{Werror=poison-system-directories:--error-poison-system-directories} \
- %{static|no-pie|static-pie:} %{L*} %(mfwrap) %(link_libgcc) " \
- VTABLE_VERIFICATION_SPEC " " SANITIZER_EARLY_SPEC " %o " CHKP_SPEC " \
+ %{static|no-pie|static-pie:} %@{L*} %(mfwrap) %(link_libgcc) " \
+ VTABLE_VERIFICATION_SPEC " " SANITIZER_EARLY_SPEC " %o "" \
%{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1):\
diff --git a/gcc/incpath.c b/gcc/incpath.c
index b11c6a57939..e3b7a21966f 100644