diff options
author | Michael Adam <obnox@samba.org> | 2009-03-23 14:22:37 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-03-23 14:22:37 +0100 |
commit | a4cc3e253852794f477ef5d836537b50111d0e42 (patch) | |
tree | e79bfb9ec45f40ebfc86ac118492e3d27a6e9a03 /source3 | |
parent | 2dc8ce59b28d3a028551ac5087f31cf83d04e064 (diff) | |
download | samba-a4cc3e253852794f477ef5d836537b50111d0e42.tar.gz samba-a4cc3e253852794f477ef5d836537b50111d0e42.tar.bz2 samba-a4cc3e253852794f477ef5d836537b50111d0e42.zip |
s3:build: prevent from setting "-O -g", check for $debug first.
This makes configure actually behave as the comments describe.
The reversal of order was introduced by mistake in
90ea8ae9b1ed3b7ed1c93076517e026e629ea1aa
Michael
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/configure.in b/source3/configure.in index 12808eb6f5..5f1a5efe7d 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -152,12 +152,12 @@ AC_SUBST(NSCD_LIBS) # do this here since AC_CACHE_CHECK apparently sets the CFLAGS to "-g -O2" # if it has no value. This prevent *very* large debug binaries from occurring # by default. -if test "x$CFLAGS" = x; then - CFLAGS="-O" -fi if test "x$debug" = "xyes" ; then CFLAGS="${CFLAGS} -g" fi +if test "x$CFLAGS" = x; then + CFLAGS="-O" +fi m4_include(../lib/socket_wrapper/config.m4) m4_include(../lib/nss_wrapper/config.m4) |