2006-05-11 22:21:14 +02:00
|
|
|
#####
|
|
|
|
#
|
|
|
|
# optimization configuration file
|
|
|
|
#
|
|
|
|
#####
|
|
|
|
#
|
|
|
|
#$Id$
|
|
|
|
#
|
|
|
|
|
|
|
|
#--- 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"
|
|
|
|
|
2007-08-01 20:26:29 +02:00
|
|
|
#--- List of packages that have issues with jobs control.
|
2006-05-11 22:21:14 +02:00
|
|
|
# This list may be different for you.
|
2007-08-01 20:26:29 +02:00
|
|
|
# If your MAKEFLAGS don't contains a -jX option, you can set
|
|
|
|
# a empty list here.
|
2012-02-02 00:29:37 +01:00
|
|
|
BLACK_LIST="autoconf dejagnu gettext groff man-db vim"
|
2006-05-11 22:21:14 +02:00
|
|
|
|
|
|
|
#--- Default optimization mode
|
|
|
|
# This mode 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 the mode set here, add
|
|
|
|
# the package to opt_override with a different mode.
|
|
|
|
#
|
|
|
|
# Not set here combined modes of form defOpt_myMode.
|
|
|
|
# Combined modes of form modeA_modeB can be set here.
|
2012-02-02 00:29:37 +01:00
|
|
|
DEF_OPT_MODE=O2pipe
|
2006-05-11 22:21:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
#--- Active optimization variables
|
|
|
|
# Variables listed here will be set as defined in the appropriate
|
|
|
|
# file in opt_config.d/; others will be ignored.
|
|
|
|
ACTIVE_OPT_VARS="CFLAGS CXXFLAGS LDFLAGS \
|
|
|
|
OTHER_CFLAGS OTHER_CXXFLAGS OTHER_LDFLAGS"
|
|
|
|
|
|
|
|
#--- Load optimization modes
|
|
|
|
# To add modes, create a working template..
|
|
|
|
# cp opt_config.d/O3pipe opt_config.d/newMode
|
|
|
|
# ..and edit it as desired.
|
|
|
|
#
|
|
|
|
# To inherit another mode and add to it, see opt_config.d/O3pipe_march
|
|
|
|
# or opt_config.d/defOpt_fPIC as examples for two different ways of
|
|
|
|
# doing it. 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
|
|
|
|
for mode in optimize/opt_config.d/* ; do
|
|
|
|
source $mode
|
|
|
|
done
|