aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/cc')
-rw-r--r--src/build-data/cc/clang.txt3
-rw-r--r--src/build-data/cc/gcc.txt1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index 8b22eb667..85f1d2ddb 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -58,6 +58,9 @@ rdseed -> "-mrdseed"
sha -> "-msha"
altivec -> "-maltivec"
+ppc64:powercrypto -> "-mcrypto"
+ppc64:power9 -> "-mcpu=power9"
+
arm64:armv8crypto -> "-march=armv8+crypto"
arm32:neon -> "-mfpu=neon"
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index 3848fb0dd..c164da671 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -65,6 +65,7 @@ sha -> "-msha"
altivec -> "-maltivec"
powercrypto -> "-mcrypto"
+ppc64:power9 -> "-mcpu=power9"
arm64:armv8crypto -> ""
arm64:armv8sm3 -> "-march=armv8.2-a+sm4"