summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-15 05:35:25 +0100
committerSam James <sam@gentoo.org>2022-07-15 05:35:25 +0100
commit385ef85cf81f67f3053820afe768c387e9dcf445 (patch)
tree1b2f6901a85443d37253b0c97502c180bdc07203 /profiles/arch
parentdev-libs/uulib: Update patch (diff)
downloadgentoo-385ef85cf81f67f3053820afe768c387e9dcf445.tar.gz
gentoo-385ef85cf81f67f3053820afe768c387e9dcf445.tar.bz2
gentoo-385ef85cf81f67f3053820afe768c387e9dcf445.zip
profiles/arch/x86: drop profile.bashrc
It dubiously (may be okay, #gentoo-pms was undecided) calls use in global scope, but we really don't need this check anyway. Originally noticed because pkgcore's pmerge in some cases would complain about it: ``` [08:54:48] <+sam_> building sys-libs/ncurses-6.3_p20220423 [08:54:48] <+sam_> /var/db/repos/gentoo/profiles/arch/x86/profile.bashrc: line 4: use: command not found [08:54:48] <+sam_> >>> Unpacking ncurses-6.3.tar.gz to /var/tmp/portage/sys-libs/ncurses-6.3_p20220423/work ``` Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles/arch')
-rw-r--r--profiles/arch/x86/profile.bashrc12
1 files changed, 0 insertions, 12 deletions
diff --git a/profiles/arch/x86/profile.bashrc b/profiles/arch/x86/profile.bashrc
deleted file mode 100644
index cf66d2d68f6b..000000000000
--- a/profiles/arch/x86/profile.bashrc
+++ /dev/null
@@ -1,12 +0,0 @@
-if [[ ${EBUILD_PHASE} == "setup" ]] ; then
-
- # on x86, -pg requires the frame pointer, so turning it off makes no sense
- if has profile ${IUSE} && use profile && \
- has -fomit-frame-pointer ${CFLAGS} ${CXXFLAGS}
- then
- eerror "\nUSE=profile and -fomit-frame-pointer make no sense"
- eerror "Fix your build settings to avoid build failures\n"
- [[ -z ${EPAUSE_IGNORE} ]] && sleep 5
- fi
-
-fi