aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-01-28 21:56:12 -0500
committerJack Lloyd <[email protected]>2017-01-28 21:56:12 -0500
commitfc857453582eae3a909f519a418ba4ef792b8c1d (patch)
tree8efdfb55af1879d231abe928d687768ec0ab0626 /src
parent6a4831cc7efd07e243247d39f2d86c97cd210e38 (diff)
Add -std=c++11 to Sun CC command line
Diffstat (limited to 'src')
-rw-r--r--src/build-data/cc/sunstudio.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/cc/sunstudio.txt b/src/build-data/cc/sunstudio.txt
index 2a392a442..934b42099 100644
--- a/src/build-data/cc/sunstudio.txt
+++ b/src/build-data/cc/sunstudio.txt
@@ -13,7 +13,7 @@ optimization_flags "-xO2"
shared_flags "-KPIC"
warning_flags "+w -erroff=truncwarn,wnoretvalue"
-lang_flags "+p -features=extensions -D__FUNCTION__=__func__"
+lang_flags "-std=c++11 +p -features=extensions -D__FUNCTION__=__func__"
ar_command "CC -xar -o"