summaryrefslogtreecommitdiff
path: root/sys-devel
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-02-21 02:28:52 +0200
committerBlackNoxis <steven.darklight@gmail.com>2015-02-21 02:28:52 +0200
commit81e5fbf3105c5978bdf51c685e662c0db9e55021 (patch)
tree2af955bbb41028d7ed4d6a08c4e878d415a26c60 /sys-devel
parentb0a3de497db8846c1f7d10a24370176b25723ddc (diff)
This must patch gcc-4.6.4, not gcc-4
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/files/gcc-spec-env.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-devel/gcc/files/gcc-spec-env.patch b/sys-devel/gcc/files/gcc-spec-env.patch
index 57e7567e..254c7970 100644
--- a/sys-devel/gcc/files/gcc-spec-env.patch
+++ b/sys-devel/gcc/files/gcc-spec-env.patch
@@ -2,11 +2,12 @@
allows us to easily control pie/ssp defaults with gcc-config profiles.
Original patch by Rob Holland
+ Modified by Stefan Cristian B.
Extended to support multiple entries separated by ':' by Kevin F. Quinn
Modified to use getenv instead of poisoned GET_ENVIRONMENT by Ryan Hill
---- gcc-4/gcc/gcc.c
-+++ gcc-4/gcc/gcc.c
+--- gcc-4.6.4/gcc/gcc.c
++++ gcc-4.6.4/gcc/gcc.c
@@ -6482,6 +6482,32 @@
/* Process any user specified specs in the order given on the command