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 <[email protected]>
Signed-off-by: Mike Holmes <[email protected]>
---
 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

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to