commit:     98d14046ff3cc3fc6ddf9cc45a70d185b5c36bfe
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 23 15:29:44 2022 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Sep 23 15:30:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98d14046

sys-libs/glibc: Add CPP to list of variables reset in clang profiles

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-libs/glibc/glibc-2.35-r10.ebuild | 1 +
 sys-libs/glibc/glibc-2.35-r8.ebuild  | 1 +
 sys-libs/glibc/glibc-2.36-r3.ebuild  | 1 +
 sys-libs/glibc/glibc-9999.ebuild     | 1 +
 4 files changed, 4 insertions(+)

diff --git a/sys-libs/glibc/glibc-2.35-r10.ebuild 
b/sys-libs/glibc/glibc-2.35-r10.ebuild
index c07be651ccb0..50faea777545 100644
--- a/sys-libs/glibc/glibc-2.35-r10.ebuild
+++ b/sys-libs/glibc/glibc-2.35-r10.ebuild
@@ -537,6 +537,7 @@ setup_env() {
                einfo "Overriding clang configuration, since it won't work here"
 
                export CC="${current_gcc_path}/gcc"
+               export CPP="${current_gcc_path}/cpp"
                export CXX="${current_gcc_path}/g++"
                export LD="${current_binutils_path}/ld.bfd"
                export AR="${current_binutils_path}/ar"

diff --git a/sys-libs/glibc/glibc-2.35-r8.ebuild 
b/sys-libs/glibc/glibc-2.35-r8.ebuild
index 5ae1d9a6d0ae..4c73a826a4a7 100644
--- a/sys-libs/glibc/glibc-2.35-r8.ebuild
+++ b/sys-libs/glibc/glibc-2.35-r8.ebuild
@@ -537,6 +537,7 @@ setup_env() {
                einfo "Overriding clang configuration, since it won't work here"
 
                export CC="${current_gcc_path}/gcc"
+               export CPP="${current_gcc_path}/cpp"
                export CXX="${current_gcc_path}/g++"
                export LD="${current_binutils_path}/ld.bfd"
                export AR="${current_binutils_path}/ar"

diff --git a/sys-libs/glibc/glibc-2.36-r3.ebuild 
b/sys-libs/glibc/glibc-2.36-r3.ebuild
index 1c3abc020acc..f9e61a195f5b 100644
--- a/sys-libs/glibc/glibc-2.36-r3.ebuild
+++ b/sys-libs/glibc/glibc-2.36-r3.ebuild
@@ -547,6 +547,7 @@ setup_env() {
                einfo "Overriding clang configuration, since it won't work here"
 
                export CC="${current_gcc_path}/gcc"
+               export CPP="${current_gcc_path}/cpp"
                export CXX="${current_gcc_path}/g++"
                export LD="${current_binutils_path}/ld.bfd"
                export AR="${current_binutils_path}/ar"

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 68785ea5f6e6..7274cb4d125d 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -548,6 +548,7 @@ setup_env() {
                einfo "Overriding clang configuration, since it won't work here"
 
                export CC="${current_gcc_path}/gcc"
+               export CPP="${current_gcc_path}/cpp"
                export CXX="${current_gcc_path}/g++"
                export LD="${current_binutils_path}/ld.bfd"
                export AR="${current_binutils_path}/ar"

Reply via email to