mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1043033 - Allow to override on-demand decompression blocklist. r=snorp
This commit is contained in:
parent
4fa70124f4
commit
73ad95ba5a
@ -213,10 +213,13 @@ public final class GeckoLoader {
|
|||||||
|
|
||||||
// Disable on-demand decompression of the linker on devices where it
|
// Disable on-demand decompression of the linker on devices where it
|
||||||
// is known to cause crashes.
|
// is known to cause crashes.
|
||||||
|
String forced_ondemand = System.getenv("MOZ_LINKER_ONDEMAND");
|
||||||
|
if (forced_ondemand == null) {
|
||||||
if ("HTC".equals(android.os.Build.MANUFACTURER) &&
|
if ("HTC".equals(android.os.Build.MANUFACTURER) &&
|
||||||
"HTC Vision".equals(android.os.Build.MODEL)) {
|
"HTC Vision".equals(android.os.Build.MODEL)) {
|
||||||
putenv("MOZ_LINKER_ONDEMAND=0");
|
putenv("MOZ_LINKER_ONDEMAND=0");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef MOZ_LINKER_EXTRACT
|
#ifdef MOZ_LINKER_EXTRACT
|
||||||
putenv("MOZ_LINKER_EXTRACT=1");
|
putenv("MOZ_LINKER_EXTRACT=1");
|
||||||
|
Loading…
Reference in New Issue
Block a user