#
# Optimization flags for the PathScale C compiler, any version
#
# Identifiers are of the form <level>_<stage>, where <level> is one of
# the permitted debug levels, and <stage> is a build stage which may
# take the following values:
#
#   * prep: for preprocessing;
#   * comp: for compilation;
#   * link: for linking.
#
# Each section of this file corresponds to a specific architecture. If
# no specific flags have been defined, the default ones will be applied.
# For a complete list of recognized architectures, please look at
# ~abinit/doc/build/architectures.txt.
#

[DEFAULT]
safe_comp = -O2
standard_comp = -O2
aggressive_comp = -O3

[amd_opteron]
safe_comp = -O2 -march=opteron -msse2
standard_comp = -O2 -march=opteron -msse2
aggressive_comp = -O3 -march=opteron -msse2

[intel_pentium4]
safe_comp = -O2 -march=pentium4 -msse2
standard_comp = -O2 -march=pentium4 -msse2
aggressive_comp = -O3 -march=pentium4 -msse2

