aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-03 18:09:25 +0000
committerlloyd <[email protected]>2010-09-03 18:09:25 +0000
commit0977c571c6010db632d25d1a595f91be1471db70 (patch)
tree0773499e68ba50eeb5fd297658bd46511cade64a
parent2652e5ebe30bfc5b66af3b893d0a7fb29abb5695 (diff)
According to Thomas Maier-Komor in a post to botan-devel, the right
way to create a static library using Sun Studio is to invoke the compiler with the -xar flag.
-rw-r--r--src/build-data/cc/sunstudio.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build-data/cc/sunstudio.txt b/src/build-data/cc/sunstudio.txt
index 80fe55951..987f85e67 100644
--- a/src/build-data/cc/sunstudio.txt
+++ b/src/build-data/cc/sunstudio.txt
@@ -18,6 +18,8 @@ shared_flags "-KPIC"
warning_flags "+w"
lang_flags "+p -D__EXTENSIONS__"
+ar_command "CC -xar -o"
+
makefile_style unix
<so_link_flags>