diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-06-13 20:39:56 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-06-13 20:39:56 +0000 |
commit | 16aa296c973c14de8678339a3cc387ed9160b755 (patch) | |
tree | 1d48c46ac008ff6622c07dde438c241a2a80292a /cpukit | |
parent | 2007-06-13 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-16aa296c973c14de8678339a3cc387ed9160b755.tar.bz2 |
2007-06-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Add NDEBUG as a command line compilation option.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/configure.ac | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index fbecf6b6bc..53b7b68e88 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2007-06-13 Joel Sherrill <joel.sherrill@OARcorp.com> + + * configure.ac: Add NDEBUG as a command line compilation option. + 2007-06-12 Joel Sherrill <joel.sherrill@OARcorp.com> * libmd/.cvsignore: New file. diff --git a/cpukit/configure.ac b/cpukit/configure.ac index f30804cd9c..6346996461 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -206,6 +206,12 @@ RTEMS_CPUOPT([SIZEOF_CPU_CONTEXT], [$ac_cv_sizeof_CPU_CONTEXT], [The size of a 'CPU_CONTEXT', as computed by sizeof]) +RTEMS_CPUOPT([NDEBUG], + [test x"${NDEBUG}" = x"1"], + [1], + [disable asserts] +) + RTEMS_CPUOPT([__RTEMS_USE_TICKS_CPU_USAGE_STATISTICS__], [test x"${USE_TICKS_FOR_CPU_USAGE_STATISTICS}" = x"1"], [1], |