forked from nss-dev/nss
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
freebl: Make it possible to compile without SSE2
Since this commit: https://hg.mozilla.org/projects/nss/rev/cd068f7ce6ae11120f8e4427aa2e8ac35a69e764 NSS build always enable the GCC options -mpclmul and -maes. Although these hardware features can be turned off with envvars (NSS_DISABLE_PCLMUL, NSS_DISABLE_HW_AES, and NSS_DISABLE_AVX), these compiler options also require SSE2, which is not yet mandated in Fedora 27 (i686). This patch exposes those envvars as a build time option to make it possible to compile NSS without SSE2. Reported and analyzed by Tomasz Torcz, Eugene Kanter, and Davide Repetto in: https://bugzilla.redhat.com/show_bug.cgi?id=1482798 https://bugzilla.redhat.com/show_bug.cgi?id=1485656
- Loading branch information
Showing
4 changed files
with
62 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters