2010-09-20 22:08:53 +02:00
|
|
|
# src/template/hpux
|
2006-03-11 05:38:42 +01:00
|
|
|
|
2006-12-12 20:43:19 +01:00
|
|
|
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
|
2003-10-09 05:20:34 +02:00
|
|
|
|
|
|
|
if test "$GCC" != yes ; then
|
2000-11-04 15:34:54 +01:00
|
|
|
CC="$CC -Ae"
|
2004-12-02 19:11:40 +01:00
|
|
|
CFLAGS="+O2"
|
2000-07-15 17:54:52 +02:00
|
|
|
fi
|
2003-12-23 19:40:53 +01:00
|
|
|
|
2003-12-23 23:15:07 +01:00
|
|
|
# Pick right test-and-set (TAS) code. We need out-of-line assembler
|
|
|
|
# when not using gcc.
|
2003-12-23 19:40:53 +01:00
|
|
|
case $host in
|
2003-12-23 23:15:07 +01:00
|
|
|
hppa*-*-hpux*)
|
|
|
|
if test "$GCC" != yes ; then
|
|
|
|
need_tas=yes
|
|
|
|
tas_file=hpux_hppa.s
|
|
|
|
fi
|
|
|
|
;;
|
2003-12-23 19:40:53 +01:00
|
|
|
esac
|