Add CXX and CC flags to mozilla build too to workaround the

fact that USE_GCC=3.1 does not use the ports compiler.

Submitted by:		Vladimir Kushnir <vkushnir@alfacom.net>
This commit is contained in:
Martin Blapp 2002-08-18 09:43:32 +00:00
parent 9e6b39dffa
commit c84d406825
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64629
3 changed files with 12 additions and 0 deletions

View File

@ -331,7 +331,11 @@ mozilla:
< ${WRKDIR}/mozilla/Makefile.new > ${WRKDIR}/mozilla/Makefile
.endif
.if defined(USE_GCC)
.if ${USE_GCC} == 3.1
cd ${WRKDIR}/mozilla && ${MAKE} CXX=${CXX} CC=${CC} CFLAGS="${CFLAGS}" USE_GCC=${USE_GCC} build
.else
cd ${WRKDIR}/mozilla && ${MAKE} CFLAGS="${CFLAGS}" USE_GCC=${USE_GCC} build
.endif
.else
cd ${WRKDIR}/mozilla && ${MAKE} CFLAGS="${CFLAGS}" build
.endif

View File

@ -331,7 +331,11 @@ mozilla:
< ${WRKDIR}/mozilla/Makefile.new > ${WRKDIR}/mozilla/Makefile
.endif
.if defined(USE_GCC)
.if ${USE_GCC} == 3.1
cd ${WRKDIR}/mozilla && ${MAKE} CXX=${CXX} CC=${CC} CFLAGS="${CFLAGS}" USE_GCC=${USE_GCC} build
.else
cd ${WRKDIR}/mozilla && ${MAKE} CFLAGS="${CFLAGS}" USE_GCC=${USE_GCC} build
.endif
.else
cd ${WRKDIR}/mozilla && ${MAKE} CFLAGS="${CFLAGS}" build
.endif

View File

@ -331,7 +331,11 @@ mozilla:
< ${WRKDIR}/mozilla/Makefile.new > ${WRKDIR}/mozilla/Makefile
.endif
.if defined(USE_GCC)
.if ${USE_GCC} == 3.1
cd ${WRKDIR}/mozilla && ${MAKE} CXX=${CXX} CC=${CC} CFLAGS="${CFLAGS}" USE_GCC=${USE_GCC} build
.else
cd ${WRKDIR}/mozilla && ${MAKE} CFLAGS="${CFLAGS}" USE_GCC=${USE_GCC} build
.endif
.else
cd ${WRKDIR}/mozilla && ${MAKE} CFLAGS="${CFLAGS}" build
.endif