Do not optimize for host CPU by default.

GitHub: Fixes #323.
This commit is contained in:
David Nadlinger
2013-05-09 17:24:29 +02:00
parent 56e35e31a0
commit 30bf4e121f
3 changed files with 80 additions and 8 deletions

View File

@@ -16,6 +16,9 @@
#define LDC_DRIVER_TARGET_H
#include "llvm/Support/CodeGen.h"
#if LDC_LLVM_VER == 300
#include "llvm/Target/TargetMachine.h" // For llvm::CodeGenOpt::Level.
#endif
#include <string>
#include <vector>