diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-03-07 12:25:59 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-03-07 12:26:10 +0100 |
commit | 0265c80544aac93e238bcfb2d61afc547c48a829 (patch) | |
tree | e6380ea560a4f0fde1be7fae6acb7db7640948c1 /lib/UdpSocket.cpp | |
parent | 38db981490655c737dac6ef546f65b1e93d1d99a (diff) | |
download | dabmod-0265c80544aac93e238bcfb2d61afc547c48a829.tar.gz dabmod-0265c80544aac93e238bcfb2d61afc547c48a829.tar.bz2 dabmod-0265c80544aac93e238bcfb2d61afc547c48a829.zip |
Remove --enable-debug configure flag
With --enable-debug, compiler flags include -g -O2, i.e. with debugging, with optimisations.
Without --enable-debug, compiler flags include -g -O2 -DNDEBUG
-g -O2 are defaults according to AC_PROG_CXX
The macro NDEBUG has a small performance impact (less than 1%), but can
put issues to light. It is beneficial to have assertions always enabled.
Remove the flag, and let the user override CFLAGS/CXXFLAGS if he wishes
to. This is documented in INSTALL.
Diffstat (limited to 'lib/UdpSocket.cpp')
0 files changed, 0 insertions, 0 deletions