diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /profiles/features/prefix/standalone/kernel-2.6.32+ | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'profiles/features/prefix/standalone/kernel-2.6.32+')
-rw-r--r-- | profiles/features/prefix/standalone/kernel-2.6.32+/make.defaults | 4 | ||||
-rw-r--r-- | profiles/features/prefix/standalone/kernel-2.6.32+/profile.bashrc | 10 |
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: |