diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-10-17 20:22:24 -0700 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-10-17 20:22:24 -0700 |
commit | 43873ef0ff403a6bc0242f8cc8510060127abde3 (patch) | |
tree | 8718f8c5a614efbba8722e7efb0696a76b7d40b7 /crawl-ref/INSTALL.txt | |
parent | f923d3b75a2d9dc0e5b8953b0021832b76c65081 (diff) | |
download | crawl-ref-43873ef0ff403a6bc0242f8cc8510060127abde3.tar.gz crawl-ref-43873ef0ff403a6bc0242f8cc8510060127abde3.zip |
makefile: Automatically optimize for your machine
Setting the makefile variable AUTO_OPT_GCC will give GCC a list of
optimization flags suited for the machine make is run on. It does this
using util/auto-opt.sh. "-march=native -mtune=native" are always
outputted, which causes GCC to detect the CPU type you use and generate
code for that. On Linux systems it also looks at the flags line of
/proc/cpuinfo to pick x86 optimization flags.
Diffstat (limited to 'crawl-ref/INSTALL.txt')
0 files changed, 0 insertions, 0 deletions