aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/build-data/cc/sunstudio.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build-data/cc/sunstudio.txt b/src/build-data/cc/sunstudio.txt
index adb015484..91a6ace65 100644
--- a/src/build-data/cc/sunstudio.txt
+++ b/src/build-data/cc/sunstudio.txt
@@ -13,7 +13,7 @@ check_opt_flags "-xO2"
debug_flags -g
no_debug_flags ""
shared_flags "-KPIC"
-warning_flags "+w"
+warning_flags "+w -erroff=truncwarn,wnoretvalue"
lang_flags "+p -features=extensions -D__FUNCTION__=__func__"
ar_command "CC -xar -o"
@@ -45,6 +45,7 @@ sparc64 -> "-xchip=SUBMODEL" sparc64-
</mach_opt>
<mach_abi_linking>
+# On Linux, may need -library=stlport4
sparc64 -> "-xarch=v9"
amd64 -> "-m64"
</mach_abi_linking>