Author: mir3x
Date: Tue Dec 27 21:57:07 2016
New Revision: 34737

URL: http://svn.gna.org/viewcvs/freeciv?rev=34737&view=rev
Log:
Remove qt debug from non-debug builds

See patch #8054


Modified:
    branches/S2_6/m4/debug.m4

Modified: branches/S2_6/m4/debug.m4
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/m4/debug.m4?rev=34737&r1=34736&r2=34737&view=diff
==============================================================================
--- branches/S2_6/m4/debug.m4   (original)
+++ branches/S2_6/m4/debug.m4   Tue Dec 27 21:57:07 2016
@@ -27,7 +27,7 @@
   AC_DEFINE([FREECIV_NDEBUG], [1], [No freeciv specific debugging support at 
all])
   FC_C_FLAGS([-O3 -fomit-frame-pointer], [], [EXTRA_DEBUG_CFLAGS])
   if test "x$cxx_works" = "xyes" ; then
-    FC_CXX_FLAGS([-O3 -fomit-frame-pointer], [], [EXTRA_DEBUG_CXXFLAGS])
+    FC_CXX_FLAGS([-O3 -fomit-frame-pointer -DQT_NO_DEBUG], [], 
[EXTRA_DEBUG_CXXFLAGS])
   fi
 fi
 
@@ -38,7 +38,7 @@
   FC_C_FLAGS([-Wall -Wpointer-arith -Wcast-align ],
              [], [EXTRA_DEBUG_CFLAGS])
   if test "x$cxx_works" = "xyes" ; then
-    FC_CXX_FLAGS([-Wall -Wpointer-arith -Wcast-align ],
+    FC_CXX_FLAGS([-Wall -Wpointer-arith -Wcast-align -DQT_NO_DEBUG],
                  [], [EXTRA_DEBUG_CXXFLAGS])
   fi
 fi


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to