summaryrefslogtreecommitdiff
path: root/src/template/solaris
AgeCommit message (Collapse)Author
2008-10-29Move forgotten comment closer to where it matters.Peter Eisentraut
2008-10-29Support for Sun Studio compiler on LinuxPeter Eisentraut
This basically takes some build system code that was previously labeled "Solaris" and ties it to the compiler rather than the operating system. Author: Julius Stroffek <Julius.Stroffek@Sun.COM>
2006-04-28Remove extra 'else' in solaris compiler code.Bruce Momjian
2006-04-27Rewrite Solaris compiler tas() assembly routines, merge i386 and x86_64Bruce Momjian
assembler files, renamed as solaris_x86.s. Theo Schlossnagle
2006-01-02Remove unnecessary assignment, per Tom.Bruce Momjian
2005-12-30Add support for Solaris x86_64 using Sun's compiler.Bruce Momjian
Pierre Girard
2005-07-29It appears we need -DSUNOS4_CC for both solaris and sunos4 templates.Tom Lane
Per report from Andrew Clark.
2004-12-02Don't bother adding to cflags/cppflags, just set them because configureBruce Momjian
handles that, and make solaris debug use no optimization.
2004-11-27Add to CPPFLAGS/CFLAGS in template files, don't over-ride them.Bruce Momjian
2004-09-24Fix TAS assembly stuff for Solaris/386. (I'm not in a position toTom Lane
actually test this, but it couldn't be broken any worse than it was...)
2004-04-26Unconditionally define:Bruce Momjian
-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS for all ports. It can't hurt if they are not supported, but it makes our job easier for porting. Should fix Darwin compile and other platforms without mucking with the thread detection code.
2004-04-23Add new auto-detection of thread flags.Bruce Momjian
Allow additional thread flags to be added via port templates. Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new configure script.
2004-03-26Add -D_REENTRANT for Solaris threading.Bruce Momjian
2004-03-25Update gcc solaris flags.Bruce Momjian
2004-03-22Add mention of "-D_POSIX_PTHREAD_SEMANTICS" enabling 5-arg getpwuid_r().Bruce Momjian
2004-03-14Update Solaris thread flags, per Jim SeymourBruce Momjian
2004-02-11Check and set thread-safe functions separately, rather than as a singleBruce Momjian
variable. Remove thread locking for non-thread-safe functions, instead throw a compile error. Platforms will have to re-run tools/thread to record their thread safety.
2004-01-08Fix Solaris thread build settings for non-gcc compilers.Bruce Momjian
2003-12-31Make Solaris non-gcc thread flag "-mt" a compile flag, not a link flag.Bruce Momjian
2003-12-30Add "-mt" link flag for Solaris non-gcc compiles when using threads ---Bruce Momjian
required.
2003-12-23Push responsibility for selecting out-of-line-assembler TAS code out toTom Lane
the platform template files, instead of doing it directly in configure.in. This seems cleaner, and also opens the door to making the choice be dependent on the compiler being used.
2003-10-25Fix CFLAGS selection to actually work. Add test to detect whether gcc'sPeter Eisentraut
option -fno-strict-aliasing is available.
2003-10-09Make template CFLAGS handling consistent.Bruce Momjian
2003-10-09This centralizes the optimization defaults into configure.in, ratherBruce Momjian
than having CFLAGS= in the template files. It uses -O2 for gcc (generated by autoconf), and -O for non-gcc, unless the template overrides it.
2003-09-27Finalize configuration of thread_test program.Bruce Momjian
2003-09-27Rename thread compile flag. Move thread test program to tools/thread,Bruce Momjian
and improve tests.
2003-09-13Attempt threading in this order:Bruce Momjian
* use non-*_r function names if they are all thread-safe * (NEED_REENTRANT_FUNCS=no) * use *_r functions if they exist (configure test) * do our own locking and copying of non-threadsafe functions New to this patch is the last option.
2000-10-21Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template toPeter Eisentraut
Makefile.port, since they are of no use to configure and much of the library magic happens in Makefile.port anyway. Use __alpha, not __alpha__, since the former is universally available. Remove -DNOFIXADE from the compile command line and put it in the port include file.
2000-10-10Unify solaris_i386 and solaris_sparc templates. They were almost identicalPeter Eisentraut
anyway, the rest being due to them not being kept in sync. Add configure test for lorder and use it (on Solaris) when found.