Skip to content
Commit 4285293a authored by Roy Li's avatar Roy Li Committed by Joe MacDonald
Browse files

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: default avatarRoy Li <rongqing.li@windriver.com>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: default avatarJoe MacDonald <joe_macdonald@mentor.com>
parent 8c14c253
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment