summaryrefslogtreecommitdiff
path: root/profiles/features/prefix/standalone
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /profiles/features/prefix/standalone
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'profiles/features/prefix/standalone')
-rw-r--r--profiles/features/prefix/standalone/kernel-2.6.32+/make.defaults4
-rw-r--r--profiles/features/prefix/standalone/kernel-2.6.32+/profile.bashrc10
2 files changed, 14 insertions, 0 deletions
diff --git a/profiles/features/prefix/standalone/kernel-2.6.32+/make.defaults b/profiles/features/prefix/standalone/kernel-2.6.32+/make.defaults
new file mode 100644
index 000000000000..056f07700a5d
--- /dev/null
+++ b/profiles/features/prefix/standalone/kernel-2.6.32+/make.defaults
@@ -0,0 +1,4 @@
+# This profile is supporting >=linux-2.6.32[a] and <linux-3.2[b].
+
+# only available in glibc-2.26.
+ac_cv_func_reallocarray=no
diff --git a/profiles/features/prefix/standalone/kernel-2.6.32+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.32+/profile.bashrc
new file mode 100644
index 000000000000..eb05932eef74
--- /dev/null
+++ b/profiles/features/prefix/standalone/kernel-2.6.32+/profile.bashrc
@@ -0,0 +1,10 @@
+# tricks to circumvent false positive checks of old kernel
+
+if [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]]; then
+ einfo "Removing O_PATH definitions..."
+ sed -e '/define.*O_PATH/d' -i "${S}"/sysdeps/unix/sysv/linux/bits/fcntl-linux.h || die
+fi
+
+# Local Variables:
+# mode: shell-script
+# End: