source: optimize/opt_config@ 0a0b609

ablfs-more legacy trunk
Last change on this file since 0a0b609 was e598708, checked in by Pierre Labastie <pierre@…>, 11 years ago

Fix optimization configuraiton files

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