From 65ae2fbaa37ac797eb9852c6c34361f0d26e4197 Mon Sep 17 00:00:00 2001 From: das Date: Sat, 18 Jul 2009 08:16:09 +0000 Subject: * unix/Makefile.in: Define NDEBUG in optimized (non- symbols) build to disable assert()s. --- ChangeLog | 3 +++ unix/Makefile.in | 4 ++-- 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 + * 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: -- cgit v0.12