aboutsummaryrefslogtreecommitdiff
path: root/src/template/solaris
diff options
context:
space:
mode:
Diffstat (limited to 'src/template/solaris')
-rw-r--r--src/template/solaris11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/template/solaris b/src/template/solaris
new file mode 100644
index 00000000000..d77bec50b2f
--- /dev/null
+++ b/src/template/solaris
@@ -0,0 +1,11 @@
+AROPT=crs
+DLSUFFIX=.so
+
+if test "$GCC" = yes ; then
+ CFLAGS=
+ SHARED_LIB=-fPIC
+else
+ CC="$CC -Xa" # relaxed ISO C mode
+ CFLAGS=-v # -v is like gcc -Wall
+ SHARED_LIB=-KPIC
+fi