source: optimize/opt_config@ 3fed586

ablfs
Last change on this file since 3fed586 was 89dffbf, checked in by Pierre Labastie <pierre@…>, 11 years ago

Merge trunk r3717

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[1b65a84]1#####
2#
3# optimization configuration file
4#
5#####
6#
7#$Id$
8#
9
10#--- Extra flags passed to the packages make commands
11# "unset" will cause the variable to be not set
12# instead of just set to null.
13MAKEFLAGS="-j3"
14
[bfd5171]15#--- List of packages that have issues with jobs control.
[1b65a84]16# This list may be different for you.
[bfd5171]17# If your MAKEFLAGS don't contains a -jX option, you can set
18# a empty list here.
[edba613]19BLACK_LIST="attr autoconf coreutils dejagnu gettext gperf groff man-db vim"
20# Rationale for attr, coreutils, gperf: the tests do not pass with -jX
[89dffbf]21# CLFS packages
22BLACK_LIST="$BLACK_LIST libee"
[1b65a84]23
24#--- Default optimization mode
25# This mode is overridden by definitions in opt_override;
26# in this way, packages can be tuned independently. For example,
27# if you have trouble building a package in the mode set here, add
28# the package to opt_override with a different mode.
29#
30# Not set here combined modes of form defOpt_myMode.
31# Combined modes of form modeA_modeB can be set here.
[7072e1f]32DEF_OPT_MODE=O2pipe
[1b65a84]33
34
35#--- Active optimization variables
36# Variables listed here will be set as defined in the appropriate
37# file in opt_config.d/; others will be ignored.
38ACTIVE_OPT_VARS="CFLAGS CXXFLAGS LDFLAGS \
39 OTHER_CFLAGS OTHER_CXXFLAGS OTHER_LDFLAGS"
40
41#--- Load optimization modes
42# To add modes, create a working template..
43# cp opt_config.d/O3pipe opt_config.d/newMode
44# ..and edit it as desired.
45#
46# To inherit another mode and add to it, see opt_config.d/O3pipe_march
47# or opt_config.d/defOpt_fPIC as examples for two different ways of
48# doing it. Given opt_config.d/modeA_modeB_modeC, modeB inherits
49# the optimizations of modeA by sourcing it, and modeC inherits those
50# of modeB (which includes those of modeA).
51#
52# Add packages that are to use this mode to opt_override with:
53# echo 'myPkg newMode' >> opt_override
54for mode in optimize/opt_config.d/* ; do
55 source $mode
56done
Note: See TracBrowser for help on using the repository browser.