source: optimize/opt_config@ eca59ce

experimental
Last change on this file since eca59ce was eca59ce, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Textual corrections.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#####
2#
3# optimization configuration file
4#
5#####
6#
7#$Id$
8#
9
10#--- Default optimization mode
11# This level is overridden by definitions in opt_override;
12# in this way, packages can be tuned independently. For example,
13# if you have trouble building a package in mode defOpt, add
14# the package to opt_override with a different mode.
15DEF_OPT_LVL=defOpt
16
17
18#--- Active optimization variables
19# Variables listed here will be set as defined in the appropriate
20# file in opt_config.d/; others will be ignored.
21ACTIVE_OPT_VARS="CFLAGS CXXFLAGS LDFLAGS \
22 OTHER_CFLAGS OTHER_CXXFLAGS OTHER_LDFLAGS"
23
24#--- Load optimization modes
25# To add modes, create a working template..
26# cp opt_config.d/defOpt opt_config.d/newMode
27# ..and edit it as desired.
28#
29# To inherit another mode and add to it, see opt_config.d/defOpt_fPIC
30# as an example. Given opt_config.d/modeA_modeB_modeC, modeB inherits
31# the optimizations of modeA by sourcing it, and modeC inherits those
32# of modeB (which includes those of modeA).
33#
34# Add packages that are to use this mode to opt_override with:
35# echo 'myPkg newMode' >> opt_override
36for mode in optimize/opt_config.d/* ; do
37 source $mode
38done
Note: See TracBrowser for help on using the repository browser.