aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/sunstudio.txt
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-28 16:19:32 +0200
committerSimon Warta <[email protected]>2015-07-21 20:06:17 +0200
commit8e552a417cc895e9a20eadc2c3684c5e3925e0db (patch)
tree79c8dacc7d2011ff1205aa624662536814c2fd22 /src/build-data/cc/sunstudio.txt
parent3addb45a8e900dc4710a933278db7eb75716a8fd (diff)
Make release/debug versions for: compile_flags, lib_opt_flags and app_opt_flags
This commit aims to preserve all settings. In some cases it will drop optimization flags and fall back to compiler's defaults in the new debug mode.
Diffstat (limited to 'src/build-data/cc/sunstudio.txt')
-rw-r--r--src/build-data/cc/sunstudio.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/build-data/cc/sunstudio.txt b/src/build-data/cc/sunstudio.txt
index cf29b9687..e98e15363 100644
--- a/src/build-data/cc/sunstudio.txt
+++ b/src/build-data/cc/sunstudio.txt
@@ -8,10 +8,11 @@ add_include_dir_option -I
add_lib_dir_option -L
add_lib_option -l
-lib_opt_flags "-xO5"
-app_opt_flags "-xO2"
-debug_flags -g
-no_debug_flags ""
+compile_flags_release ""
+compile_flags_debug "-g"
+lib_opt_flags_release "-xO5"
+app_opt_flags_release "-xO2"
+
shared_flags "-KPIC"
warning_flags "+w -erroff=truncwarn,wnoretvalue"
lang_flags "+p -features=extensions -D__FUNCTION__=__func__"