Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2018 21:26:33 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334120 - head/share/mk
Message-ID:  <201805232126.w4NLQXrc084775@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed May 23 21:26:33 2018
New Revision: 334120
URL: https://svnweb.freebsd.org/changeset/base/334120

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

Modified:
  head/share/mk/bsd.sys.mk

Modified: head/share/mk/bsd.sys.mk
==============================================================================
--- head/share/mk/bsd.sys.mk	Wed May 23 21:25:49 2018	(r334119)
+++ head/share/mk/bsd.sys.mk	Wed May 23 21:26:33 2018	(r334120)
@@ -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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805232126.w4NLQXrc084775>