Skip to content

Commit 89060ca

Browse files
committed
Disable Fallback type library for x86, x86_64, aarch64, mips
1 parent 45d02ed commit 89060ca

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

platform/linux/platform_linux.cpp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ class LinuxX86Platform: public Platform
3030
if (cc)
3131
SetSystemCallConvention(cc);
3232
}
33+
34+
virtual bool GetFallbackEnabled() override
35+
{
36+
return false;
37+
}
3338
};
3439

3540
class LinuxPpc32Platform: public Platform
@@ -90,6 +95,11 @@ class LinuxX64Platform: public Platform
9095
if (cc)
9196
SetSystemCallConvention(cc);
9297
}
98+
99+
virtual bool GetFallbackEnabled() override
100+
{
101+
return false;
102+
}
93103
};
94104

95105

@@ -136,6 +146,11 @@ class LinuxArm64Platform: public Platform
136146
if (cc)
137147
SetSystemCallConvention(cc);
138148
}
149+
150+
virtual bool GetFallbackEnabled() override
151+
{
152+
return false;
153+
}
139154
};
140155

141156

@@ -159,6 +174,11 @@ class LinuxMipsPlatform: public Platform
159174
if (cc)
160175
SetSystemCallConvention(cc);
161176
}
177+
178+
virtual bool GetFallbackEnabled() override
179+
{
180+
return false;
181+
}
162182
};
163183

164184

0 commit comments

Comments
 (0)