diff options
author | James Peach <jpeach@samba.org> | 2006-02-10 02:26:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:01 -0500 |
commit | e2ad693d032814506e4bf405880259135794936a (patch) | |
tree | 499c509500da52db83c75619387bb5969742de5d /source3 | |
parent | 687e5be25e6090cf73867c3e08dab6a381c0adbc (diff) | |
download | samba-e2ad693d032814506e4bf405880259135794936a.tar.gz samba-e2ad693d032814506e4bf405880259135794936a.tar.bz2 samba-e2ad693d032814506e4bf405880259135794936a.zip |
r13424: Don't attempt to use cc -O2. This breaks the solaris build.
(This used to be commit 341d554e2f7a117c7098633b24cb18c7ff25a011)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/configure.in b/source3/configure.in index 9774479acb..3dad967295 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -330,14 +330,14 @@ AC_ARG_ENABLE(socket-wrapper, # if it has no value. This prevent *very* large debug binaries from occurring # by default. if test "x$CFLAGS" = x; then - AX_CFLAGS_GCC_OPTION(-O2, CFLAGS) - AX_CFLAGS_IRIX_OPTION(-O2, CFLAGS) + AX_CFLAGS_GCC_OPTION(-O, CFLAGS) + AX_CFLAGS_IRIX_OPTION(-O, CFLAGS) # Make sure the MIPSPro compiler will never decide functions are too # big to optimise AX_CFLAGS_IRIX_OPTION(-OPT:Olimit=0, CFLAGS) - AX_CFLAGS_HPUX_OPTION(-O2, CFLAGS) - AX_CFLAGS_SUN_OPTION(-O2, CFLAGS) - AX_CFLAGS_AIX_OPTION(-O2, CFLAGS) + AX_CFLAGS_HPUX_OPTION(-O, CFLAGS) + AX_CFLAGS_SUN_OPTION(-O, CFLAGS) + AX_CFLAGS_AIX_OPTION(-O, CFLAGS) fi CPPFLAGS="${CPPFLAGS} -D_SAMBA_BUILD_" |