Solution is instead to replace CMAKE_BUILD_TYPE:STRING=RelWithDebInfo | Release | Debug ...
with CMAKE_BUILD_TYPE:STRING=None This makes sure CFLAGS/CXXFLAGS sets by user are actully being used (and only those as per debian requirement). Having CMAKE_BUILD_TYPE sets to a value solve also issue where CMAKE_BUILD_TYPE may be tested for definition, see http://bugs.debian.org/730636#27 2cts -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org