Additional fix for NOWERROR issue
This introduces CFLAGS at module level
@@ -648,6 +648,7 @@ module LINK_UNIT: BASE_UNIT {
PEERDIR+=library/malloc/system
}
# TODO: fix WERROR and MSVC_WERROR macros
+ CFLAGS+=
when ($NO_COMPILER_WARNINGS != "yes" && $WERROR != "no") {
when ($WERROR_MODE == "all" || ($WERROR_MODE == "compiler_specific" && $WERROR == "yes")) {
CFLAGS+=$WERROR_FLAG
@@ -1070,6 +1071,7 @@ module _LIBRARY: BASE_UNIT {
}
# TODO: fix WERROR and MSVC_WERROR macros
+ CFLAGS+=
when ($NO_COMPILER_WARNINGS != "yes" && $WERROR != "no") {
when ($WERROR_MODE == "all" || ($WERROR_MODE == "compiler_specific" && $WERROR == "yes")) {
CFLAGS+=$WERROR_FLAG
