mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
Mk/bsd.gcc.mk: Streamline note on building GCC itself
This commit is contained in:
parent
a1a0f91da4
commit
322ffff18b
1 changed files with 2 additions and 4 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue