1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-18 17:42:25 +03:00

Use inlined TAS() on PA-RISC, if we are compiling with gcc.

Patch inspired by original submission from ViSolve.
This commit is contained in:
Tom Lane
2003-12-23 22:15:07 +00:00
parent cd2ad9b944
commit afb09b5a31
3 changed files with 50 additions and 16 deletions

View File

@ -5,7 +5,13 @@ if test "$GCC" != yes ; then
CFLAGS="+O2"
fi
# Pick right test-and-set (TAS) code.
# Pick right test-and-set (TAS) code. We need out-of-line assembler
# when not using gcc.
case $host in
hppa*-*-hpux*) need_tas=yes; tas_file=hpux_hppa.s ;;
hppa*-*-hpux*)
if test "$GCC" != yes ; then
need_tas=yes
tas_file=hpux_hppa.s
fi
;;
esac