diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2013-12-07 22:36:21 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2013-12-07 22:36:21 +0000 |
commit | e526b95449fe2e3644b23557751a9df937a17fdf (patch) | |
tree | 8595afcc333278f445d66fe7b57648fda99106ec /Mk/bsd.gcc.mk | |
parent | 325cad41e4c6630fc476649d719e5ae8266a7dfb (diff) | |
download | ports-e526b95449fe2e3644b23557751a9df937a17fdf.tar.gz ports-e526b95449fe2e3644b23557751a9df937a17fdf.zip |
Explicitly include the GCC run time directory in LDFLAGS. This should
not be necessary when linking with GCC, but that's not the only way the
link process can be invoked.
PR: 182136
Notes
Notes:
svn path=/head/; revision=335855
Diffstat (limited to 'Mk/bsd.gcc.mk')
-rw-r--r-- | Mk/bsd.gcc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk index 2e463aee4472..bfaac16bc8d9 100644 --- a/Mk/bsd.gcc.mk +++ b/Mk/bsd.gcc.mk @@ -209,7 +209,7 @@ CPP:= cpp${V} _GCC_RUNTIME:= ${LOCALBASE}/lib/gcc${V} CFLAGS+= -Wl,-rpath=${_GCC_RUNTIME} CXXFLAGS+= -Wl,-rpath=${_GCC_RUNTIME} -LDFLAGS+= -Wl,-rpath=${_GCC_RUNTIME} +LDFLAGS+= -Wl,-rpath=${_GCC_RUNTIME} -L${_GCC_RUNTIME} . if defined (USE_FORTRAN) . if ${USE_FORTRAN} == yes FFLAGS+= -Wl,-rpath=${_GCC_RUNTIME} |