aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-03-15 03:12:37 +0000
committerlloyd <[email protected]>2015-03-15 03:12:37 +0000
commiteba1294cac0d0b069e6a7a156984a0e3fce050a8 (patch)
tree4408cb1d6004e2b8c341591e221b245cc8f11326 /src/build-data
parentbdce6b1eea8fecaa64d2e56ceb748febec0351c9 (diff)
Consider AES-NI as implying SSSE3 which lets us merge two of the
amalgamation objects (aes_ni and clmul). The real advantage is for the static link, as GCM will pull in clmul via its reference, which is sufficient to also pull the AES impl into the link.
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/cc/clang.txt2
-rw-r--r--src/build-data/cc/gcc.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index cbb68bb21..9216c12c9 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -38,7 +38,7 @@ sse4.1 -> "-msse4.1"
sse4.2 -> "-msse4.2"
avx2 -> "-mavx2"
bmi2 -> "-mbmi2"
-aesni -> "-maes -mpclmul"
+aesni -> "-maes -mpclmul -mssse3"
rdrand -> "-mrdrnd"
sha -> "-msha"
altivec -> "-maltivec"
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index a22450f3b..324f51071 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -43,7 +43,7 @@ sse4.1 -> "-msse4.1"
sse4.2 -> "-msse4.2"
avx2 -> "-mavx2"
bmi2 -> "-mbmi2"
-aesni -> "-maes -mpclmul"
+aesni -> "-maes -mpclmul -mssse3"
rdrand -> "-mrdrnd"
sha -> "-msha"
altivec -> "-maltivec"