summaryrefslogtreecommitdiff
path: root/src/template/solaris
diff options
context:
space:
mode:
authorPeter Eisentraut2000-10-10 21:22:29 +0000
committerPeter Eisentraut2000-10-10 21:22:29 +0000
commit4d76a801c6394f7964848dc5ed7e61148489ff0b (patch)
tree744a8cbab90be4662163326d1865b5996fce4e89 /src/template/solaris
parentcbe5f73aa079cbda483fe5e6d82a812124b2ff35 (diff)
Unify solaris_i386 and solaris_sparc templates. They were almost identical
anyway, the rest being due to them not being kept in sync. Add configure test for lorder and use it (on Solaris) when found.
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