diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/template/aix | 4 | ||||
-rw-r--r-- | src/template/bsdi | 4 | ||||
-rw-r--r-- | src/template/freebsd | 2 | ||||
-rw-r--r-- | src/template/hpux | 2 | ||||
-rw-r--r-- | src/template/osf | 2 | ||||
-rw-r--r-- | src/template/qnx4 | 1 | ||||
-rw-r--r-- | src/template/solaris | 3 | ||||
-rw-r--r-- | src/template/univel | 2 | ||||
-rw-r--r-- | src/template/unixware | 2 |
9 files changed, 8 insertions, 14 deletions
diff --git a/src/template/aix b/src/template/aix index f72be4f9a05..1e3d2261957 100644 --- a/src/template/aix +++ b/src/template/aix @@ -1,7 +1,7 @@ if test "$GCC" != yes ; then case $host_os in aix3.2.5 | aix4.1*) ;; - *) CFLAGS="$CFLAGS -O2 -qlonglong";; + *) CFLAGS="-O2 -qlonglong";; esac - CFLAGS="$CFLAGS -qmaxmem=16384 -qsrcmsg" + CFLAGS="-O -qmaxmem=16384 -qsrcmsg" fi diff --git a/src/template/bsdi b/src/template/bsdi index 70b27910a17..4c62ce44217 100644 --- a/src/template/bsdi +++ b/src/template/bsdi @@ -1,7 +1,3 @@ -case $host_cpu in - i?86) CFLAGS="$CFLAGS -m486";; -esac - case $host_os in bsdi2.0 | bsdi2.1 | bsdi3*) CC=gcc2;; esac diff --git a/src/template/freebsd b/src/template/freebsd index fbf01fcd8aa..2b155d12db9 100644 --- a/src/template/freebsd +++ b/src/template/freebsd @@ -1,5 +1,5 @@ case $host_cpu in - alpha*) CFLAGS="$CFLAGS -O";; # alpha has problems with -O2 + alpha*) CFLAGS="-O";; # alpha has problems with -O2 esac THREAD_SUPPORT=yes diff --git a/src/template/hpux b/src/template/hpux index a461df0dcd7..28d836e0120 100644 --- a/src/template/hpux +++ b/src/template/hpux @@ -2,5 +2,5 @@ CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED" if test "$GCC" != yes ; then CC="$CC -Ae" - CFLAGS="$CFLAGS +O2" + CFLAGS="+O2" fi diff --git a/src/template/osf b/src/template/osf index 2b4dee1546b..312d6cdfa51 100644 --- a/src/template/osf +++ b/src/template/osf @@ -1,6 +1,6 @@ if test "$GCC" != yes ; then CC="$CC -std" - CFLAGS="$CFLAGS -O4 -Olimit 2000" + CFLAGS="-O4 -Olimit 2000" fi THREAD_SUPPORT=yes diff --git a/src/template/qnx4 b/src/template/qnx4 index fc55af2c57b..4ab0ae1db93 100644 --- a/src/template/qnx4 +++ b/src/template/qnx4 @@ -1,2 +1 @@ -CFLAGS="$CFLAGS -I/usr/local/include" LIBS="-lunix" diff --git a/src/template/solaris b/src/template/solaris index 5264f749859..7609d0e2cbd 100644 --- a/src/template/solaris +++ b/src/template/solaris @@ -1,9 +1,8 @@ if test "$GCC" != yes ; then CC="$CC -Xa" # relaxed ISO C mode - CFLAGS="$CFLAGS -O -v" # -v is like gcc -Wall + CFLAGS="-O -v" # -v is like gcc -Wall fi THREAD_SUPPORT=yes NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13 THREAD_LIBS="-pthread" - diff --git a/src/template/univel b/src/template/univel index 12d11496735..30980fee0a5 100644 --- a/src/template/univel +++ b/src/template/univel @@ -1,2 +1,2 @@ -CFLAGS="$CFLAGS -v -O -K i486,host,inline,loop_unroll -Dsvr4" +CFLAGS="-v -O -K i486,host,inline,loop_unroll -Dsvr4" LIBS="-lc89" diff --git a/src/template/unixware b/src/template/unixware index 8ad4a745d2e..1b420c81c43 100644 --- a/src/template/unixware +++ b/src/template/unixware @@ -4,7 +4,7 @@ else # the -Kno_host is temporary for a bug in the compiler. See -hackers # discussion on 7-8/Aug/2003. # when the 7.1.3UP3 or later compiler is out, we can do a version check. - CFLAGS="$CFLAGS -O -Kinline,no_host" + CFLAGS="-O -Kinline,no_host" THREAD_CPPFLAGS="-K pthread" fi |