On Fri, Apr 15, 2016 at 12:55 PM, Mike Holmes <mike.hol...@linaro.org> wrote: > As we approach a production stable release and we package for > distribution inclusion, the default debug should be for the majority of > users to build a performance image rather than a debug one. > > Suggested-by: Anders Roxell <anders.rox...@linaro.org> > Signed-off-by: Mike Holmes <mike.hol...@linaro.org> > --- > configure.ac | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/configure.ac b/configure.ac > index 9665d1d..6c56daf 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -167,10 +167,12 @@ ODP_CFLAGS="$ODP_CFLAGS > -DODP_DEBUG_PRINT=$ODP_DEBUG_PRINT" > ########################################################################## > # Enable/disable ODP_DEBUG > ########################################################################## > -ODP_DEBUG=1 > +ODP_DEBUG=0 > AC_ARG_ENABLE([debug], > [ --enable-debug include additional code], > - [if ! test "x$enableval" = "xyes"; then > + [if test "x$enableval" = "xyes"; then > + ODP_DEBUG=1 > + else > ODP_DEBUG=0 > fi]) > ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG=$ODP_DEBUG" > -- > 2.5.0
Reviewed-by: Ricardo Salveti <ricardo.salv...@linaro.org> -- Ricardo Salveti _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp