cflags_optim_nodebug="@CFLAGS_OPTIM_NODEBUG@"
cflags_nooptim="@CFLAGS_NOOPTIM@"
+cflags_werror="@CFLAGS_WERROR@"
+
#
# Do not touch below this place unless you really know what you are doing
#
#
if [ "${debug}" = yes ]; then
cppflags="${cppflags} -DDEBUG"
- cflags="${cflags} -g"
+ cflags="${cflags} -g ${cflags_werror}"
cxxflags="${cxxflags} -g"
objcflags="${objcflags} -g"
ldflags="${ldflags} -g"