mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
On non-apple systems, when using -march=ppc32, do not print:
'' is not a recognized processor for this target (ignoring processor) Default to "generic" instead of "" for the default CPU. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23257 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3eb3369a25
commit
c98d823649
@ -123,7 +123,7 @@ PPCSubtarget::PPCSubtarget(const Module &M, const std::string &FS)
|
|||||||
: StackAlignment(16), IsGigaProcessor(false), IsAIX(false), IsDarwin(false) {
|
: StackAlignment(16), IsGigaProcessor(false), IsAIX(false), IsDarwin(false) {
|
||||||
|
|
||||||
// Determine default and user specified characteristics
|
// Determine default and user specified characteristics
|
||||||
std::string CPU;
|
std::string CPU = "generic";
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
CPU = GetCurrentPowerPCCPU();
|
CPU = GetCurrentPowerPCCPU();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user