lldap: fix the building failure when gcc5 is used or DEBUG_BUILD is 1
1. fix the building failure when host is gcc5
2. fix the building failure when DEBUG_BUILD is 1 by removal of -Werror
Remove -Werror, since it is suitable to develop only; otherwise when
gcc adds -O0 option to compile codes, the error will be generated
since the warning:
//# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
Signed-off-by:
Roy Li <rongqing.li@windriver.com>
Signed-off-by:
Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
parent
8c14c253
Please register or sign in to comment