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:
@ -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
|
||||
|
Reference in New Issue
Block a user