diff options
| author | Bruce Momjian | 2003-10-09 03:20:34 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2003-10-09 03:20:34 +0000 |
| commit | 0e22cb1232f4474f9b461661b621603312f37d3d (patch) | |
| tree | abd5f46c27f3bbde748119ed6d135a29c7b3224a /src/template/solaris | |
| parent | c1a0d72da6f7b6a6d84d24059a1c2af40aec7ee3 (diff) | |
This centralizes the optimization defaults into configure.in, rather
than having CFLAGS= in the template files.
It uses -O2 for gcc (generated by autoconf), and -O for non-gcc, unless
the template overrides it.
Diffstat (limited to 'src/template/solaris')
| -rw-r--r-- | src/template/solaris | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/template/solaris b/src/template/solaris index 083b1d3659f..f5ff36064be 100644 --- a/src/template/solaris +++ b/src/template/solaris @@ -1,8 +1,6 @@ -if test "$GCC" = yes ; then - CFLAGS= -else +if test "$GCC" != yes ; then CC="$CC -Xa" # relaxed ISO C mode - CFLAGS=-v # -v is like gcc -Wall + CFLAGS="-O -v" # -v is like gcc -Wall fi THREAD_SUPPORT=yes |
