diff options
| author | Tom Lane | 2003-12-23 22:15:07 +0000 |
|---|---|---|
| committer | Tom Lane | 2003-12-23 22:15:07 +0000 |
| commit | afb09b5a31a558709b7a8c577e447c60ff25ca1b (patch) | |
| tree | e0d8e777f30ef07e95c94106499336437462d991 /src/template | |
| parent | cd2ad9b944fb236557bfe85999ac56857e0f22cd (diff) | |
Use inlined TAS() on PA-RISC, if we are compiling with gcc.
Patch inspired by original submission from ViSolve.
Diffstat (limited to 'src/template')
| -rw-r--r-- | src/template/hpux | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/template/hpux b/src/template/hpux index 154b5743aa..775c55a935 100644 --- a/src/template/hpux +++ b/src/template/hpux @@ -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 |
