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:
parent
9e6b39dffa
commit
c84d406825
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64629
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user