sys-libs/glibc: fix USE=headers-only install for powerpc64le target
authorSergei Trofimovich <slyfox@gentoo.org>
Mon, 9 Apr 2018 06:23:09 +0000 (07:23 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Mon, 9 Apr 2018 06:23:25 +0000 (07:23 +0100)
glibc-2.27 needs 2 more sanity checks from native compiler to pass configure:
  libc_cv_compiler_powerpc64le_binary128_ok=yes
  libc_cv_target_power8_ok=yes

Notices when tried clean toolchain botstrap for bug #652724

Bug: https://bugs.gentoo.org/652724
Package-Manager: Portage-2.3.28, Repoman-2.3.9

sys-libs/glibc/glibc-2.27-r1.ebuild
sys-libs/glibc/glibc-9999.ebuild

index 3cc1a137ada336034fb2b2f6e695e94d65ce8d8f..523de8fcfa8dee0ed71118547e447f8318df6092 100644 (file)
@@ -962,6 +962,7 @@ glibc_headers_configure() {
                libc_cv_asm_cfi_directives=yes
                libc_cv_broken_visibility_attribute=no
                libc_cv_c_cleanup=yes
+               libc_cv_compiler_powerpc64le_binary128_ok=yes
                libc_cv_forced_unwind=yes
                libc_cv_gcc___thread=yes
                libc_cv_mlong_double_128=yes
@@ -969,6 +970,7 @@ glibc_headers_configure() {
                libc_cv_ppc_machine=yes
                libc_cv_ppc_rel16=yes
                libc_cv_predef_fortify_source=no
+               libc_cv_target_power8_ok=yes
                libc_cv_visibility_attribute=yes
                libc_cv_z_combreloc=yes
                libc_cv_z_execstack=yes
index 519bc28c95461bba288f25eccc7c4515409881f2..24e9f43bde8fcfd254828f564a6c191f8a059d18 100644 (file)
@@ -962,6 +962,7 @@ glibc_headers_configure() {
                libc_cv_asm_cfi_directives=yes
                libc_cv_broken_visibility_attribute=no
                libc_cv_c_cleanup=yes
+               libc_cv_compiler_powerpc64le_binary128_ok=yes
                libc_cv_forced_unwind=yes
                libc_cv_gcc___thread=yes
                libc_cv_mlong_double_128=yes
@@ -969,6 +970,7 @@ glibc_headers_configure() {
                libc_cv_ppc_machine=yes
                libc_cv_ppc_rel16=yes
                libc_cv_predef_fortify_source=no
+               libc_cv_target_power8_ok=yes
                libc_cv_visibility_attribute=yes
                libc_cv_z_combreloc=yes
                libc_cv_z_execstack=yes