[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NDEBUG and CMake



Am Mittwoch, den 25.04.2018, 12:32 +0200 schrieb Sébastien Jodogne:
> 
> cmake -DCMAKE_C_FLAGS=-DNDEBUG -DCMAKE_CXX_FLAGS=-DNDEBUG [...]
> 
> Please someone could validate this approach? TIA!

Add this at the top of d/rules: 

export DEB_CFLAGS_MAINT_APPEND=-DNDEBUG
export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG

Best, 
Gert



Reply to: