aboutsummaryrefslogtreecommitdiff
path: root/lang/gnat-gcc42/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gnat-gcc42/Makefile')
-rw-r--r--lang/gnat-gcc42/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/gnat-gcc42/Makefile b/lang/gnat-gcc42/Makefile
index 7dc48aa2ae9f..20c71dcb37e0 100644
--- a/lang/gnat-gcc42/Makefile
+++ b/lang/gnat-gcc42/Makefile
@@ -83,11 +83,11 @@ PLIST_SUB= GCC_VER=${PORTVERSION} \
USE_LDCONFIG= ${targlib}
# Prepare environment for the bootstrap compiler.
-build_env= CC=${WRKDIR}/boot/bin/gcc \
- PTHREAD_LIBS=${PTHREAD_LIBS} \
+CC= ${WRKDIR}/boot/bin/gcc
+build_env= PTHREAD_LIBS=${PTHREAD_LIBS} \
PATH=${WRKDIR}/boot/bin:${WRKDIR}/boot/libexec:${PATH}
-CONFIGURE_ENV+= ${build_env}
+CONFIGURE_ENV+= ${build_env} CC="${CC}"
MAKE_ENV+= ${build_env}
pre-everything::