summaryrefslogtreecommitdiff
path: root/src/template/hpux
blob: ce4d93ced7badb8ccbe786424930387088b4060f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# src/template/hpux

CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"

if test "$GCC" != yes ; then
  CC="$CC -Ae"
  CFLAGS="+O2"
fi

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