aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-21 11:39:32 -0400
committerJack Lloyd <[email protected]>2017-09-21 11:39:32 -0400
commita6420db31516405fb410a39830e29bfda3219ed6 (patch)
treea893e66d82d6af099d637fa5bc55716b9eebe57e /src/build-data/cc
parentbbbc4c59ec85ec912b482afab1eccc0fd3b1f87a (diff)
Improve support for IBM XLC
A uint128 type is available but is apparently broken, causes problems with x25519
Diffstat (limited to 'src/build-data/cc')
-rw-r--r--src/build-data/cc/xlc.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/build-data/cc/xlc.txt b/src/build-data/cc/xlc.txt
index 55b9e7092..36eaf29d2 100644
--- a/src/build-data/cc/xlc.txt
+++ b/src/build-data/cc/xlc.txt
@@ -1,4 +1,4 @@
-macro_name IBM_XLC
+macro_name XLC
binary_name xlC
@@ -11,17 +11,19 @@ compile_flags "-c"
debug_info_flags "-g"
optimization_flags "-O2"
-lang_flags ""
+lang_flags "-std=c++11"
makefile_style gmake
<mach_opt>
-cellppu -> "-qarch=cell"
-ppc970 -> "-qarch=ppc970"
-power4 -> "-qarch=pwr4"
-power5 -> "-qarch=pwr5"
+power8 -> "-qarch=pwr8"
+power9 -> "-qarch=pwr9"
</mach_opt>
+<isa_flags>
+altivec -> "-qaltivec"
+</isa_flags>
+
<so_link_commands>
default -> "$(CXX) -qmkshrobj"
</so_link_commands>