summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2009-07-18 08:16:09 (GMT)
committerdas <das>2009-07-18 08:16:09 (GMT)
commit65ae2fbaa37ac797eb9852c6c34361f0d26e4197 (patch)
tree2951f2b847dc6fce105685f86ec6e3d819266e3a
parent9c0aea5b00ec4ca2994de3f86a1e39ed979dc98f (diff)
downloadtk-65ae2fbaa37ac797eb9852c6c34361f0d26e4197.zip
tk-65ae2fbaa37ac797eb9852c6c34361f0d26e4197.tar.gz
tk-65ae2fbaa37ac797eb9852c6c34361f0d26e4197.tar.bz2
* unix/Makefile.in: Define NDEBUG in optimized (non-
symbols) build to disable assert()s.
-rw-r--r--ChangeLog3
-rw-r--r--unix/Makefile.in4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 338c778..cfa22d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2009-07-18 Daniel Steffen <das@users.sourceforge.net>
+ * unix/Makefile.in: Define NDEBUG in optimized (non-
+ symbols) build to disable assert()s.
+
* macosx/tkMacOSXBitmap.c: Fix tk::mac::iconBitmap crash due to
off-by-one ckalloc error. [Bug 2821318]
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 399003a..2535943 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -5,7 +5,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.154 2009/06/29 14:35:01 das Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.155 2009/07/18 08:16:09 das Exp $
# Current Tk version; used in various names.
@@ -131,7 +131,7 @@ CFLAGS_WARNING = @CFLAGS_WARNING@
# The default switches for optimization or debugging
CFLAGS_DEBUG = @CFLAGS_DEBUG@
-CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@
+CFLAGS_OPTIMIZE = -DNDEBUG @CFLAGS_OPTIMIZE@
# To change the compiler switches, for example to change from optimization to
# debugging symbols, change the following line: