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
RevLine 
[17c7894]1#####
2#
3# optimization configuration file
4#
5#####
6#
[53588e2]7#$Id$
8#
[17c7894]9
[53588e2]10#--- Default optimization mode
[eca59ce]11# This level is overridden by definitions in opt_override;
[53588e2]12# in this way, packages can be tuned independently. For example,
13# if you have trouble building a package in mode defOpt, add
[eca59ce]14# the package to opt_override with a different mode.
[53588e2]15DEF_OPT_LVL=defOpt
[17c7894]16
17
[53588e2]18#--- Active optimization variables
19# Variables listed here will be set as defined in the appropriate
[eca59ce]20# file in opt_config.d/; others will be ignored.
[53588e2]21ACTIVE_OPT_VARS="CFLAGS CXXFLAGS LDFLAGS \
22 OTHER_CFLAGS OTHER_CXXFLAGS OTHER_LDFLAGS"
[17c7894]23
[53588e2]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
[eca59ce]36for mode in optimize/opt_config.d/* ; do
[53588e2]37 source $mode
38done
Note: See TracBrowser for help on using the repository browser.