diff options
Diffstat (limited to 'sys-libs/newlib/newlib-9999.ebuild')
-rw-r--r-- | sys-libs/newlib/newlib-9999.ebuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sys-libs/newlib/newlib-9999.ebuild b/sys-libs/newlib/newlib-9999.ebuild index 39e03d098e4d..83237271fd55 100644 --- a/sys-libs/newlib/newlib-9999.ebuild +++ b/sys-libs/newlib/newlib-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -37,12 +37,8 @@ NEWLIBBUILD="${WORKDIR}/build" NEWLIBNANOBUILD="${WORKDIR}/build.nano" NEWLIBNANOTMPINSTALL="${WORKDIR}/nano_tmp_install" -# Adding -U_FORTIFY_SOURCE to counter the effect of Gentoo's -# auto-addition of _FORTIFY_SOURCE at gcc site: bug #656018#c4 -# Currently newlib can't be built itself when _FORTIFY_SOURCE -# is set. -CFLAGS_FULL="-ffunction-sections -fdata-sections -U_FORTIFY_SOURCE" -CFLAGS_NANO="-Os -ffunction-sections -fdata-sections -U_FORTIFY_SOURCE" +CFLAGS_FULL="-ffunction-sections -fdata-sections" +CFLAGS_NANO="-Os -ffunction-sections -fdata-sections" pkg_setup() { # Reject newlib-on-glibc type installs @@ -71,6 +67,9 @@ src_configure() { CFLAGS_ORIG="${CFLAGS}" local myconf=( + # The top-level configure doesn't utilize this flag, but subdirs do, + # so autodetection for econf doesn't work. Add ourselves. + --disable-silent-rules # Disable legacy syscall stub code in newlib. These have been # moved to libgloss for a long time now, so the code in newlib # itself just gets in the way. |