Project

General

Profile

Submit #2256 ยป 0001-Added-the-variable-NO_GCC44-to-the-system.patch

juanfra684, 12/10/2011 04:45 PM

View differences:

Makefile.inc1
_gcc41_cross= gnu/usr.bin/cc41
_gcc41_tools= gnu/usr.bin/cc41/cc_prep gnu/usr.bin/cc41/cc_tools
.endif
.if !defined(NO_GCC44)
_gcc44_cross= gnu/usr.bin/cc44
_gcc44_tools= gnu/usr.bin/cc44/cc_prep gnu/usr.bin/cc44/cc_tools
.endif
_custom_cross= libexec/customcc
_binutils= gnu/usr.bin/${WORLD_BINUTILSVER}
......
HOST_CCVER=${HOST_CCVER} CCVER=gcc41 \
${MAKE} -f Makefile.inc1 _startup_libs41;
.endif
.if !defined(NO_GCC44)
cd ${.CURDIR}; \
HOST_CCVER=${HOST_CCVER} CCVER=gcc44 \
${MAKE} -f Makefile.inc1 _startup_libs44;
.endif
cd ${.CURDIR}; \
${MAKE} -f Makefile.inc1 _startup_libs; \
${MAKE} -f Makefile.inc1 _prebuild_libs; \
etc/defaults/make.conf
#NO_CVS= true # do not build CVS
#NO_GAMES= true # do not enter the games subdirectory
#NO_GCC41= true # do not build gcc-4.1
#NO_GCC44= true # do not build gcc-4.4
#NO_GDB= true # do not build GDB
#NO_I4B= true # do not build isdn4bsd package
#NO_LIBC_R= true # do not build libc_r (re-entrant version of libc)
gnu/lib/Makefile
# $FreeBSD: src/gnu/lib/Makefile,v 1.25.2.4 2001/01/06 23:16:53 obrien Exp $
SUBDIR= gcc44 libcryptsetup libdevmapper libdialog libluks liblvm
.if !defined(NO_GCC44)
SUBDIR+= gcc44
.endif
.if !defined(NO_GCC41)
SUBDIR+= gcc41
......
SUBDIR_ORDERED= gcc41 gcc44
.endif
SUBDIR+= libcryptsetup libdevmapper libdialog libluks liblvm
.include <bsd.subdir.mk>
gnu/usr.bin/Makefile
.ORDER: binutils222 cc41
.endif
.if !defined(NO_GCC44)
SUBDIR+= cc44
.ORDER: binutils222 cc44
.endif
# maximum parallelism
#
share/man/man5/make.conf.5
.It Va NO_GCC41
.Pq Vt bool
Set to not build the older version of GCC (4.1).
.It Va NO_GCC44
.Pq Vt bool
Set to not build the older version of GCC (4.4).
.It Va NO_GDB
.Pq Vt bool
Set to not build
    (1-1/1)