Revert r334081 (-Wmain) as it broke the build on gcc architectures

This commit is contained in:
Ed Maste 2018-05-23 21:26:33 +00:00
parent 61bc50d032
commit 12db404753

View File

@ -28,7 +28,7 @@ CFLAGS+= -std=${CSTD}
#CFLAGS+= -pedantic
.if defined(WARNS)
.if ${WARNS} >= 1
CWARNFLAGS+= -Wsystem-headers -Wmain
CWARNFLAGS+= -Wsystem-headers
.if !defined(NO_WERROR) && !defined(NO_WERROR.${COMPILER_TYPE})
CWARNFLAGS+= -Werror
.endif # !NO_WERROR && !NO_WERROR.${COMPILER_TYPE}