mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
Revert r334081 (-Wmain) as it broke the build on gcc architectures
This commit is contained in:
parent
61bc50d032
commit
12db404753
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334120
|
@ -28,7 +28,7 @@ CFLAGS+= -std=${CSTD}
|
||||||
#CFLAGS+= -pedantic
|
#CFLAGS+= -pedantic
|
||||||
.if defined(WARNS)
|
.if defined(WARNS)
|
||||||
.if ${WARNS} >= 1
|
.if ${WARNS} >= 1
|
||||||
CWARNFLAGS+= -Wsystem-headers -Wmain
|
CWARNFLAGS+= -Wsystem-headers
|
||||||
.if !defined(NO_WERROR) && !defined(NO_WERROR.${COMPILER_TYPE})
|
.if !defined(NO_WERROR) && !defined(NO_WERROR.${COMPILER_TYPE})
|
||||||
CWARNFLAGS+= -Werror
|
CWARNFLAGS+= -Werror
|
||||||
.endif # !NO_WERROR && !NO_WERROR.${COMPILER_TYPE}
|
.endif # !NO_WERROR && !NO_WERROR.${COMPILER_TYPE}
|
||||||
|
|
Loading…
Reference in a new issue