Revert r334081 (-Wmain) as it broke the build on gcc architectures
This commit is contained in:
parent
61bc50d032
commit
12db404753
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user