mirror of
https://github.com/postgres/postgres.git
synced 2025-08-24 09:27:52 +03:00
Fix TAS assembly stuff for Solaris/386. (I'm not in a position to
actually test this, but it couldn't be broken any worse than it was...)
This commit is contained in:
@@ -3,10 +3,21 @@ if test "$GCC" != yes ; then
|
||||
CFLAGS="-O -v" # -v is like gcc -Wall
|
||||
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
|
||||
sparc-*-solaris*) need_tas=yes; tas_file=solaris_sparc.s ;;
|
||||
i?86-*-solaris*) need_tas=yes; tas_file=solaris_i386.s ;;
|
||||
sparc-*-solaris*)
|
||||
if test "$GCC" != yes ; then
|
||||
need_tas=yes
|
||||
tas_file=solaris_sparc.s
|
||||
fi
|
||||
;;
|
||||
i?86-*-solaris*)
|
||||
if test "$GCC" != yes ; then
|
||||
need_tas=yes
|
||||
tas_file=solaris_i386.s
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things
|
||||
|
Reference in New Issue
Block a user