commit:     a3175e08822394188b112dc5e23475e876cd603e
Author:     Brad Laue <brad <AT> brad-x <DOT> com>
AuthorDate: Wed Nov 10 15:10:31 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 13 03:34:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a3175e08

scripts/bootstrap-prefix.sh: don't unset *FLAGS for stage3 @system

Unsetting CFLAGS and CXXFLAGS by stage3 breaks builds.

[sam: We're pulling in more packages now, which is probably why this
never showed up before.]

Closes: https://github.com/gentoo/prefix/pull/5
Signed-off-by: Sam James <sam <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 65f56ab99b..ece81d3791 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -2171,7 +2171,7 @@ bootstrap_stage3() {
        einfo "running emerge -uDNav system"
        estatus "stage3: emerge -uDNav system"
        CPPFLAGS="-DGNUSTEP_BASE_VERSION" \
-       CFLAGS= CXXFLAGS= emerge --color n -uDNav system || return 1
+       emerge --color n -uDNav system || return 1
 
        # remove anything that we don't need (compilers most likely)
        einfo "running emerge --depclean"

Reply via email to