This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
MahiroOS-jhalfs/optimize/opt_config

44 lines
1.3 KiB
Text
Raw Normal View History

2006-05-04 00:03:58 +02:00
#####
#
# optimization configuration file
#
#####
#
#$Id$
#
2006-05-04 00:03:58 +02:00
2006-05-06 13:06:07 +02:00
#--- Extra flags passed to the packages make commands
# "unset" will cause the variable to be not set
# instead of just set to null.
MAKEFLAGS="-j3"
#--- Default optimization mode
2006-05-05 20:35:55 +02:00
# This level is overridden by definitions in opt_override;
# in this way, packages can be tuned independently. For example,
# if you have trouble building a package in mode defOpt, add
2006-05-05 20:35:55 +02:00
# the package to opt_override with a different mode.
2006-05-06 16:35:00 +02:00
DEF_OPT_LVL=defOpt
2006-05-04 00:03:58 +02:00
#--- Active optimization variables
# Variables listed here will be set as defined in the appropriate
2006-05-05 20:35:55 +02:00
# file in opt_config.d/; others will be ignored.
ACTIVE_OPT_VARS="CFLAGS CXXFLAGS LDFLAGS \
OTHER_CFLAGS OTHER_CXXFLAGS OTHER_LDFLAGS"
2006-05-04 00:03:58 +02:00
#--- Load optimization modes
# To add modes, create a working template..
# cp opt_config.d/defOpt opt_config.d/newMode
# ..and edit it as desired.
#
# To inherit another mode and add to it, see opt_config.d/defOpt_march
# as an example. Given opt_config.d/modeA_modeB_modeC, modeB inherits
# the optimizations of modeA by sourcing it, and modeC inherits those
# of modeB (which includes those of modeA).
#
# Add packages that are to use this mode to opt_override with:
# echo 'myPkg newMode' >> opt_override
2006-05-05 20:35:55 +02:00
for mode in optimize/opt_config.d/* ; do
source $mode
done