mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-27 03:40:22 +00:00
2106086f1f
The mapfile now removes all hwcaps_1 (SSE-AVX), and hwcaps_2 (AVX2, RDRAND, RDSEED). Unfortunately, it requires 2 and does not work on Solaris 9.
16 lines
572 B
Plaintext
16 lines
572 B
Plaintext
# Solaris mapfile to override hardware caps to avoid load-time kills. Thanks to Andrew Henle
|
|
# for the mapfile version 1 syntax. Also see https://stackoverflow.com/q/53210019/608639 and
|
|
# https://www.oracle.com/technetwork/server-storage/solaris/hwcap-modification-139536.html
|
|
|
|
# Use this if you need $mapfile_version 1. Unfortunately, it does
|
|
# not work. The linker does not remove hwcap_2 capabilities.
|
|
# hwcap_1 = SSE SSE2 OVERRIDE;
|
|
# hwcap_2 = V0x0;
|
|
|
|
# This will clear all caps, but it does not work on Solaris 9
|
|
$mapfile_version 2
|
|
CAPABILITY {
|
|
HW_1 = ;
|
|
HW_2 = ;
|
|
};
|