From 322ffff18b5b6ab38493a8d58d27a6f15a88afa9 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Wed, 19 Feb 2025 12:42:33 +0000 Subject: [PATCH] Mk/bsd.gcc.mk: Streamline note on building GCC itself --- Mk/bsd.gcc.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk index 9ea37edb5aa3..2a701267e751 100644 --- a/Mk/bsd.gcc.mk +++ b/Mk/bsd.gcc.mk @@ -95,10 +95,8 @@ CXX:= g++${V} CPP:= cpp${V} _GCC_RUNTIME:= ${LOCALBASE}/lib/gcc${V} . if ${PORTNAME} == gcc -# We don't want the rpath stuff while building GCC itself -# so we do not set the FLAGS as done in the else part. -# When building a GCC, we want the target libraries to be used and not the -# host GCC libraries. +# When building GCC itself, we want the target libraries to be used +# and not the host GCC libraries. . else CFLAGS+= -Wl,-rpath=${_GCC_RUNTIME} CXXFLAGS+= -Wl,-rpath=${_GCC_RUNTIME}