diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-08-24 12:04:11 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:17 -0500 |
commit | 335e74167169c5c2154bf464393da2c93b2c16c3 (patch) | |
tree | 0b3265bffa294f78ba378772cdd780ec0d34f0ff /source4/build | |
parent | bdec66f0eda2bcc791d1974c7ed82e58a863290a (diff) | |
download | samba-335e74167169c5c2154bf464393da2c93b2c16c3.tar.gz samba-335e74167169c5c2154bf464393da2c93b2c16c3.tar.bz2 samba-335e74167169c5c2154bf464393da2c93b2c16c3.zip |
r2011: remove this broken and never reached test
as PROG_CC will set CFLAGS to the default ones
normaly "-g -O2"
metze
(This used to be commit 424af1a9df7e67aa2194b2542794ed4589e57dbf)
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/smb_build/check_cc.m4 | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source4/build/smb_build/check_cc.m4 b/source4/build/smb_build/check_cc.m4 index ae4e5c956c..68e938b794 100644 --- a/source4/build/smb_build/check_cc.m4 +++ b/source4/build/smb_build/check_cc.m4 @@ -11,12 +11,6 @@ if test x"$CC" = x""; then AC_MSG_ERROR([Please Install gcc from http://gcc.gnu.org/]) fi -# compile with optimization and without debugging by default, but -# allow people to set their own preference. -if test "x$CFLAGS" = x; then - CFLAGS="-O ${CFLAGS}" -fi - dnl needed before AC_TRY_COMPILE AC_ISC_POSIX @@ -81,7 +75,7 @@ AC_TRY_RUN([#include "${srcdir-.}/build/tests/trivial.c"], # # Check if the compiler can handle the options we selected by -# --enable-*developer and --enable-debug +# --enable-*developer # if test -n "$DEVELOPER_CFLAGS"; then OLD_CFLAGS="${CFLAGS}" |