[cfe-dev] clang driver defaults to -mcpu=pentium4, why?

Roman Divacky rdivacky at freebsd.org
Mon May 18 01:35:49 PDT 2009


hi

as $subj says, clang defaults to -mcpu=pentium4 for i386 arch. I wonder why.
llvm provides autodetection of the current CPU. wouldnt that be more sane
default?

also, how can I enable the "build for my native cpu" now?

thnx, roman




More information about the cfe-dev mailing list