This centralizes the optimization defaults into configure.in, rather
Bruce Momjian <bruce@momjian.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +4 −0 |
| configure.in | modified | +5 −1 |
| src/template/beos | modified | +0 −1 |
| src/template/bsdi | modified | +1 −3 |
| src/template/cygwin | modified | +0 −1 |
| src/template/dgux | modified | +0 −1 |
| src/template/freebsd | modified | +3 −9 |
| src/template/hpux | modified | +3 −5 |
| src/template/irix5 | modified | +0 −1 |
| src/template/linux | modified | +0 −2 |
| src/template/netbsd | modified | +0 −2 |
| src/template/nextstep | modified | +0 −1 |
| src/template/openbsd | modified | +0 −1 |
| src/template/osf | modified | +1 −3 |
| src/template/qnx4 | modified | +2 −2 |
| src/template/sco | modified | +0 −5 |
| src/template/solaris | modified | +2 −4 |
| src/template/sunos4 | modified | +0 −1 |
| src/template/svr4 | modified | +0 −1 |
| src/template/ultrix4 | modified | +0 −1 |
| src/template/univel | modified | +1 −1 |
| src/template/unixware | modified | +0 −1 |
| src/template/win | modified | +0 −3 |
| src/template/win32 | modified | +0 −3 |