mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Push responsibility for selecting out-of-line-assembler TAS code out to
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.
This commit is contained in:
@ -4,3 +4,8 @@ if test "$GCC" != yes ; then
|
||||
CC="$CC -Ae"
|
||||
CFLAGS="+O2"
|
||||
fi
|
||||
|
||||
# Pick right test-and-set (TAS) code.
|
||||
case $host in
|
||||
hppa*-*-hpux*) need_tas=yes; tas_file=hpux_hppa.s ;;
|
||||
esac
|
||||
|
@ -3,6 +3,12 @@ if test "$GCC" != yes ; then
|
||||
CFLAGS="-O -v" # -v is like gcc -Wall
|
||||
fi
|
||||
|
||||
# Pick right test-and-set (TAS) code.
|
||||
case $host in
|
||||
sparc-*-solaris*) need_tas=yes; tas_file=solaris_sparc.s ;;
|
||||
i?86-*-solaris*) need_tas=yes; tas_file=solaris_i386.s ;;
|
||||
esac
|
||||
|
||||
THREAD_SUPPORT=yes
|
||||
NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13
|
||||
THREAD_LIBS="-pthread"
|
||||
|
Reference in New Issue
Block a user