mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 06:31:20 +02:00
Make template CFLAGS handling consistent.
This commit is contained in:
parent
1dad866bb4
commit
7185455c08
@ -1,9 +1,9 @@
|
|||||||
if test "$GCC" = yes ; then
|
if test "$GCC" = yes ; then
|
||||||
CFLAGS='-O2 -pipe'
|
CFLAGS="$CFLAGS -pipe"
|
||||||
else # not GCC
|
else
|
||||||
CFLAGS='-O2 -qmaxmem=16384 -qsrcmsg -qlonglong'
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
aix3.2.5 | aix4.1*)
|
aix3.2.5 | aix4.1*) ;;
|
||||||
CFLAGS='-qmaxmem=16384 -qsrcmsg' ;;
|
*) CFLAGS="$CFLAGS -O2 -qlonglong";;
|
||||||
esac
|
esac
|
||||||
fi # not GCC
|
CFLAGS="$CFLAGS -qmaxmem=16384 -qsrcmsg"
|
||||||
|
fi
|
||||||
|
@ -1 +1 @@
|
|||||||
SRCH_LIB='/usr/local/lib'
|
SRCH_LIB="/usr/local/lib"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
CFLAGS="$CFLAGS -pipe"
|
CFLAGS="$CFLAGS -pipe"
|
||||||
|
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
alpha*) CFLAGS="$CFLAGS -O";;
|
alpha*) CFLAGS="$CFLAGS -O";; # alpha has problems with -O2
|
||||||
esac
|
esac
|
||||||
|
|
||||||
THREAD_SUPPORT=yes
|
THREAD_SUPPORT=yes
|
||||||
|
@ -2,5 +2,5 @@ CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
|
|||||||
|
|
||||||
if test "$GCC" != yes ; then
|
if test "$GCC" != yes ; then
|
||||||
CC="$CC -Ae"
|
CC="$CC -Ae"
|
||||||
CFLAGS="+O2"
|
CFLAGS="$CFLAGS +O2"
|
||||||
fi
|
fi
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
if test "$GCC" != yes ; then
|
if test "$GCC" != yes ; then
|
||||||
CC="$CC -std"
|
CC="$CC -std"
|
||||||
CFLAGS='-O4 -Olimit 2000'
|
CFLAGS="$CFLAGS -O4 -Olimit 2000"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
THREAD_SUPPORT=yes
|
THREAD_SUPPORT=yes
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
if test "$GCC" != yes ; then
|
if test "$GCC" != yes ; then
|
||||||
CC="$CC -Xa" # relaxed ISO C mode
|
CC="$CC -Xa" # relaxed ISO C mode
|
||||||
CFLAGS="-O -v" # -v is like gcc -Wall
|
CFLAGS="$CFLAGS -O -v" # -v is like gcc -Wall
|
||||||
fi
|
fi
|
||||||
|
|
||||||
THREAD_SUPPORT=yes
|
THREAD_SUPPORT=yes
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
CFLAGS='-v -O -K i486,host,inline,loop_unroll -Dsvr4'
|
CFLAGS="$CFLAGS -v -O -K i486,host,inline,loop_unroll -Dsvr4"
|
||||||
LIBS="-lc89"
|
LIBS="-lc89"
|
||||||
|
@ -4,7 +4,7 @@ else
|
|||||||
# the -Kno_host is temporary for a bug in the compiler. See -hackers
|
# the -Kno_host is temporary for a bug in the compiler. See -hackers
|
||||||
# discussion on 7-8/Aug/2003.
|
# discussion on 7-8/Aug/2003.
|
||||||
# when the 7.1.3UP3 or later compiler is out, we can do a version check.
|
# when the 7.1.3UP3 or later compiler is out, we can do a version check.
|
||||||
CFLAGS='-O -Kinline,no_host'
|
CFLAGS="$CFLAGS -O -Kinline,no_host"
|
||||||
THREAD_CPPFLAGS="-K pthread"
|
THREAD_CPPFLAGS="-K pthread"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user