Make.conf

From wiki.linuxonlinehelp.eu
Revision as of 13:46, 12 May 2016 by Author (talk | contribs) (→‎My sample make.conf)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

My sample make.conf

/etc/make.conf

PERL_VERSION=5.10.1
WITHOUT_X11=yes
MAKEOPTS=-j7
BATCH=yes
CFFLAGS= -O -pipe

Info:

1. set Perl Version to compile

2. for Server no enabled desktop for every port

3. use 6 CPU Cores (Phenom X6)

4. run compile as batch

5. speed up flags for compile

Changes on FreeBSD 11 (CLANG and LLVM Compiler)

KERNCONF=custom
BATCH=yes

CC=clang
CXX=clang++
CPP=clang-cpp

NO_CCACHE=true
MK_PROFILE=no
BUILD_OPTIMIZED=YES
BUILD_STATIC=YES
WITHOUT_DEBUG=YES

OPTIONS_UNSET=FONTCONFIG
WITH_PKGNG=YES
MODULES_OVERRIDE=tmpfs acpi geom ipfw dtrace
NO_INET6=YES

NO_WERROR=
WERROR=
NO_FSCHG=

FORCE_MAKE_JOBS=yes
MAKE_JOBS_NUMBER=2     #Set Compiler to run 2 compile Jobs (Dual Core CPU) parallel  (on 8-Core CPUs go 8-10Jobs)