aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-07-24 22:29:33 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-07-24 22:29:33 +0000
commite314a0d3c424c7ae89295e39c81d7a267566cf43 (patch)
treeccbf0b464b9a8025b224d655b80ad7363c58b944 /Mk/bsd.port.mk
parent845d76e8952297462d3bc5a98135e0ef6397af11 (diff)
downloadports-e314a0d3c424c7ae89295e39c81d7a267566cf43.tar.gz
ports-e314a0d3c424c7ae89295e39c81d7a267566cf43.zip
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 7c1750f0beb2..6466a3e83866 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2091,8 +2091,9 @@ MAKE_FLAGS?= -f
MAKEFILE?= Makefile
MAKE_ENV+= PREFIX=${PREFIX} \
LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} \
- MOTIFLIB="${MOTIFLIB}" LIBDIR="${LIBDIR}" CFLAGS="${CFLAGS}" \
- CXXFLAGS="${CXXFLAGS}" MANPREFIX="${MANPREFIX}"
+ MOTIFLIB="${MOTIFLIB}" LIBDIR="${LIBDIR}" \
+ CC="${CC}" CFLAGS="${CFLAGS}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
+ MANPREFIX="${MANPREFIX}"
# Add -fno-strict-aliasing to CFLAGS with optimization level -O2 or higher.
# gcc 4.x enable strict aliasing optimization with -O2 which is known to break