summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hardened/toolchain/branches/pie-abi/app-admin/eselect-compiler/files/eselect-compiler-2.0.0_rc2-bug135688.patch')
-rw-r--r--hardened/toolchain/branches/pie-abi/app-admin/eselect-compiler/files/eselect-compiler-2.0.0_rc2-bug135688.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/hardened/toolchain/branches/pie-abi/app-admin/eselect-compiler/files/eselect-compiler-2.0.0_rc2-bug135688.patch b/hardened/toolchain/branches/pie-abi/app-admin/eselect-compiler/files/eselect-compiler-2.0.0_rc2-bug135688.patch
new file mode 100644
index 0000000..1b5c3e4
--- /dev/null
+++ b/hardened/toolchain/branches/pie-abi/app-admin/eselect-compiler/files/eselect-compiler-2.0.0_rc2-bug135688.patch
@@ -0,0 +1,13 @@
+Index: compiler.eselect.in
+===================================================================
+--- compiler-config-2.0.0_rc2/src/profile-manager/compiler.eselect.in (revision 271)
++++ compiler-config-2.0.0_rc2/src/profile-manager/compiler.eselect.in (working copy)
+@@ -380,7 +380,7 @@
+ postopts="${postopts} --native"
+ else
+ # Figure out what bins are installed for the default CTARGET in case we are or are becoming default
+- set_v="COMPILER_CONFIG_SET_${COMPILER_CONFIG_DEFAULT_CTARGET}"
++ set_v="COMPILER_CONFIG_SET_${COMPILER_CONFIG_DEFAULT_CTARGET//[-.]/_}"
+ if [[ -n ${!set_v} ]] ; then
+ oldprofile=${!set_v}
+