aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-09-18 14:20:38 -0400
committerJack Lloyd <[email protected]>2018-09-18 14:20:38 -0400
commitb641f52a99fefd4ef85171c78bea39f7f21d4152 (patch)
treec8db287157de69b8967979d7a18664291290e9d1
parent4ffa60d1bd7904e2b7ce7b39b977dc6e93210ce5 (diff)
Update build flags for Sun Studio
-rw-r--r--src/build-data/cc/sunstudio.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/build-data/cc/sunstudio.txt b/src/build-data/cc/sunstudio.txt
index c5dac65de..3dd8e00b0 100644
--- a/src/build-data/cc/sunstudio.txt
+++ b/src/build-data/cc/sunstudio.txt
@@ -5,8 +5,8 @@ binary_name CC
optimization_flags "-xO2"
shared_flags "-KPIC"
-warning_flags "+w -erroff=truncwarn,wnoretvalue"
-lang_flags "-std=c++11 +p -features=extensions -D__FUNCTION__=__func__"
+warning_flags "+w -erroff=truncwarn,wnoretvalue,wlessrestrictedthrow"
+lang_flags "-std=c++11 +p -features=extensions"
ar_command CC
ar_options "-xar -o"
@@ -19,7 +19,7 @@ default -> "$(CXX) -G -h{soname_abi}"
# Needed on some Linux distros
linux -> "-library=stlport4"
-sparc64 -> "-xarch=v9"
+sparc64 -> "-m64 -xarch=sparc"
x86_64 -> "-m64"
</mach_abi_linking>