diff options
author | das <das> | 2009-07-18 08:16:06 (GMT) |
---|---|---|
committer | das <das> | 2009-07-18 08:16:06 (GMT) |
commit | 87edf9c39870a062040ef47d131ee19dfc4161d8 (patch) | |
tree | bbbe37737b068b56e8123167731e9d795b799685 | |
parent | 47696f530aabf1a5ddab3d36eb8481b469d44397 (diff) | |
download | tcl-87edf9c39870a062040ef47d131ee19dfc4161d8.zip tcl-87edf9c39870a062040ef47d131ee19dfc4161d8.tar.gz tcl-87edf9c39870a062040ef47d131ee19dfc4161d8.tar.bz2 |
* unix/Makefile.in: Define NDEBUG in optimized (non-symbols) build to
disable NRE assert()s and threaded allocator range checks.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | unix/Makefile.in | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2009-07-18 Daniel Steffen <das@users.sourceforge.net> + + * unix/Makefile.in: Define NDEBUG in optimized (non-symbols) build to + disable NRE assert()s and threaded allocator range checks. + 2009-07-16 Don Porter <dgp@users.sourceforge.net> * generic/tclBinary.c: Removed unused variables. diff --git a/unix/Makefile.in b/unix/Makefile.in index 312eac2..d210013 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -4,7 +4,7 @@ # "./configure", which is a configuration script generated by the "autoconf" # program (constructs like "@foo@" will get replaced in the actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.271 2009/06/26 18:14:25 das Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.272 2009/07/18 08:16:06 das Exp $ VERSION = @TCL_VERSION@ MAJOR_VERSION = @TCL_MAJOR_VERSION@ @@ -97,7 +97,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: |