[Bro-Dev] enable-debug doesn't work on FreeBSD

Jonathan Siwek jsiwek at ncsa.illinois.edu
Wed Aug 3 20:06:28 PDT 2011


> CMAKE_CXX_FLAGS_DEBUG:STRING=
> CMAKE_C_FLAGS_DEBUG:STRING=
> 
> so I guess those two are the problems. Were do they come from?

It looks like they might get set from $cmake_install_prefix/share/cmake/Modules/Compiler/GNU.cmake

Maybe you're missing some modules that are supposed to come with CMake?  Or maybe it's just not detecting the compiler correctly.

(If you're desperate, a temporary workaround would be: `CFLAGS=-g CXXFLAGS=-g ./configure --enable-debug`)

- Jon


More information about the bro-dev mailing list