aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-12-23 00:14:36 +0000
committerlloyd <[email protected]>2013-12-23 00:14:36 +0000
commit32233249f38b7fcbce53699ab23c899352e17449 (patch)
tree9ff7ddeb46132716a4140c85b8de448f3324baf6 /src/build-data/cc
parentf9bf642e0c810e584ce4510dfa2db59b6de03630 (diff)
Set -m flags for rdrand.cpp. Update compiler ISA flags
Diffstat (limited to 'src/build-data/cc')
-rw-r--r--src/build-data/cc/clang.txt18
-rw-r--r--src/build-data/cc/gcc.txt18
2 files changed, 20 insertions, 16 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index 163e64272..e39d942fb 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -30,14 +30,16 @@ darwin -> "$(CXX) -dynamiclib -fPIC -install_name $(LIBDIR)/$(SONAME)"
</so_link_flags>
<isa_flags>
-"sse2" -> "-msse2"
-"ssse3" -> "-mssse3"
-"sse4.1" -> "-msse4.1"
-"sse4.2" -> "-msse4.2"
-"avx" -> "-mavx"
-"aes-ni" -> "-maes"
-"avx2" -> "-mavx2"
-"bmi2" -> "-mbmi2"
+sse2 -> "-msse2"
+ssse3 -> "-mssse3"
+sse4.1 -> "-msse4.1"
+sse4.2 -> "-msse4.2"
+avx2 -> "-mavx2"
+bmi2 -> "-mbmi2"
+aesni -> "-maes"
+clmul -> "-mclmul"
+rdrand -> "-mrdrnd"
+sha -> "-msha"
</isa_flags>
<mach_opt>
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index 52d5020e2..ddc1e3f84 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -38,14 +38,16 @@ solaris -> "$(CXX) -shared -fPIC -Wl,-h,$(SONAME)"
</so_link_flags>
<isa_flags>
-"sse2" -> "-msse2"
-"ssse3" -> "-mssse3"
-"sse4.1" -> "-msse4.1"
-"sse4.2" -> "-msse4.2"
-"avx" -> "-mavx"
-"aes-ni" -> "-maes"
-"avx2" -> "-mavx2"
-"bmi2" -> "-mbmi2"
+sse2 -> "-msse2"
+ssse3 -> "-mssse3"
+sse4.1 -> "-msse4.1"
+sse4.2 -> "-msse4.2"
+avx2 -> "-mavx2"
+bmi2 -> "-mbmi2"
+aesni -> "-maes"
+clmul -> "-mclmul"
+rdrand -> "-mrdrnd"
+sha -> "-msha"
</isa_flags>
<mach_opt>