Changeset e681f3 in git


Ignore:
Timestamp:
May 27, 2013, 2:28:04 AM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c1c65551e4b3a0de0b13ddf30446f6e9569681b5')
Children:
2ee8ac18d25da263d8ff5b140f45b9ac7be22c0b
Parents:
d775e519fa82c002572d593226a06c894ef9be59
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-05-27 02:28:04+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-06-17 09:19:03+02:00
Message:
Fix -DNDEBUG -DOM_DEBUG as a flag
File:
1 edited

Legend:

Unmodified
Added
Removed
  • m4/flags.m4

    rd775e5 re681f3  
    7373   AC_MSG_ERROR([Please note that you have enabled the debug and optimization flags, which may not work well together (try \`--disable-optimizationflags')!])
    7474  fi
    75  else
    76   AC_DEFINE([OM_NDEBUG],1,"Disable OM Debug")
    77   AC_DEFINE([NDEBUG],1,"Disable Debug")
     75# else
     76#  AC_DEFINE([OM_NDEBUG],1,"Disable OM Debug")
     77#  AC_DEFINE([NDEBUG],1,"Disable Debug")
    7878 fi
    7979
     
    103103 
    104104 if test "x${ENABLE_OPTIMIZATION}" != xno; then
    105   OPTFLAGS="-O2 -Wno-unused-function -Wno-unused-parameter -Wno-unused-variable -fomit-frame-pointer -fwrapv"
     105  OPTFLAGS="-DOM_NDEBUG -DNDEBUG -O2 -Wno-unused-function -Wno-unused-parameter -Wno-unused-variable -fomit-frame-pointer -fwrapv"
    106106  #  -O3 - crashes gcc???!!! 
    107107  AC_LANG_PUSH([C])
Note: See TracChangeset for help on using the changeset viewer.