mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 20:05:35 +02:00
Fixed PPC Mac support broken with fix for 148415. Platform.getOSArch() now returns "powerpc", this used to return "ppc".
This commit is contained in:
parent
393d4235cd
commit
f7109c7d5a
1 changed files with 2 additions and 1 deletions
|
@ -93,7 +93,8 @@ public class DebugConfiguration implements ICDebugConfiguration {
|
|||
public boolean supportsCPU(String cpu) {
|
||||
String nativeCPU = Platform.getOSArch();
|
||||
boolean ret = false;
|
||||
if ( nativeCPU.startsWith(cpu) ) {
|
||||
if ( nativeCPU.startsWith(cpu) ||
|
||||
nativeCPU.equalsIgnoreCase("powerpc") && cpu.equalsIgnoreCase("ppc")) {
|
||||
ret = getCPUs().contains(CPU_NATIVE);
|
||||
}
|
||||
return ret || getCPUs().contains(cpu) || getCPUs().contains("*"); //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue