summaryrefslogtreecommitdiff
path: root/sys-libs
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-20 03:01:54 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-20 03:01:54 -0500
commitb8e997d669f2779a6f954a9ce5cfb887d0ee91e8 (patch)
treec20220a94b4fc7a65b110c2ab41765671acc5530 /sys-libs
parentfd47b082ab0da4bc79447a8e2bfb7e77dd71874d (diff)
downloadbaldeagleos-repo-b8e997d669f2779a6f954a9ce5cfb887d0ee91e8.tar.gz
baldeagleos-repo-b8e997d669f2779a6f954a9ce5cfb887d0ee91e8.tar.xz
baldeagleos-repo-b8e997d669f2779a6f954a9ce5cfb887d0ee91e8.zip
Adding metadata
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/glibc-2.43-r2.ebuild15
-rw-r--r--sys-libs/glibc/glibc-2.43.9999.ebuild15
-rw-r--r--sys-libs/glibc/glibc-9999.ebuild15
3 files changed, 45 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-2.43-r2.ebuild b/sys-libs/glibc/glibc-2.43-r2.ebuild
index eb3491bfe1f8..3a12fa4b25ad 100644
--- a/sys-libs/glibc/glibc-2.43-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.43-r2.ebuild
@@ -357,6 +357,21 @@ setup_target_flags() {
just_headers && return 0
case $(tc-arch) in
+ alpha)
+ # glibc selects its hand-written assembly mem*/str* routines by the
+ # host triplet's machine prefix (sysdeps/alpha/preconfigure does
+ # machine=alpha/$machine), NOT by the -mcpu codegen flag. With the
+ # bare alpha-*-* CHOST only the generic C is built. Map -mcpu to the
+ # most specific sysdeps/alpha/alphaev* dir that exists (Implies chain
+ # alphaev67 -> alphaev6 -> alphaev5) so the tuned asm is selected.
+ local cpu
+ case $(get-flag mcpu) in
+ 21264a|ev67) cpu="alphaev67" ;;
+ 21264|ev6) cpu="alphaev6" ;;
+ 21164*|ev5|ev56|pca56) cpu="alphaev5" ;;
+ esac
+ [[ -n ${cpu} ]] && CTARGET_OPT="${cpu}-${CTARGET#*-}"
+ ;;
x86)
# -march needed for #185404 #199334
# TODO: When creating the first glibc cross-compile, this test will
diff --git a/sys-libs/glibc/glibc-2.43.9999.ebuild b/sys-libs/glibc/glibc-2.43.9999.ebuild
index 94abfc83ab66..99863838435f 100644
--- a/sys-libs/glibc/glibc-2.43.9999.ebuild
+++ b/sys-libs/glibc/glibc-2.43.9999.ebuild
@@ -356,6 +356,21 @@ setup_target_flags() {
just_headers && return 0
case $(tc-arch) in
+ alpha)
+ # glibc selects its hand-written assembly mem*/str* routines by the
+ # host triplet's machine prefix (sysdeps/alpha/preconfigure does
+ # machine=alpha/$machine), NOT by the -mcpu codegen flag. With the
+ # bare alpha-*-* CHOST only the generic C is built. Map -mcpu to the
+ # most specific sysdeps/alpha/alphaev* dir that exists (Implies chain
+ # alphaev67 -> alphaev6 -> alphaev5) so the tuned asm is selected.
+ local cpu
+ case $(get-flag mcpu) in
+ 21264a|ev67) cpu="alphaev67" ;;
+ 21264|ev6) cpu="alphaev6" ;;
+ 21164*|ev5|ev56|pca56) cpu="alphaev5" ;;
+ esac
+ [[ -n ${cpu} ]] && CTARGET_OPT="${cpu}-${CTARGET#*-}"
+ ;;
x86)
# -march needed for #185404 #199334
# TODO: When creating the first glibc cross-compile, this test will
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 94abfc83ab66..99863838435f 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -356,6 +356,21 @@ setup_target_flags() {
just_headers && return 0
case $(tc-arch) in
+ alpha)
+ # glibc selects its hand-written assembly mem*/str* routines by the
+ # host triplet's machine prefix (sysdeps/alpha/preconfigure does
+ # machine=alpha/$machine), NOT by the -mcpu codegen flag. With the
+ # bare alpha-*-* CHOST only the generic C is built. Map -mcpu to the
+ # most specific sysdeps/alpha/alphaev* dir that exists (Implies chain
+ # alphaev67 -> alphaev6 -> alphaev5) so the tuned asm is selected.
+ local cpu
+ case $(get-flag mcpu) in
+ 21264a|ev67) cpu="alphaev67" ;;
+ 21264|ev6) cpu="alphaev6" ;;
+ 21164*|ev5|ev56|pca56) cpu="alphaev5" ;;
+ esac
+ [[ -n ${cpu} ]] && CTARGET_OPT="${cpu}-${CTARGET#*-}"
+ ;;
x86)
# -march needed for #185404 #199334
# TODO: When creating the first glibc cross-compile, this test will