]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
To be able to use printf extensions we need to turn off gcc format checking.
authorPawel Jakub Dawidek <pjd@FreeBSD.org>
Mon, 7 Mar 2011 09:28:21 +0000 (09:28 +0000)
committerPawel Jakub Dawidek <pjd@FreeBSD.org>
Mon, 7 Mar 2011 09:28:21 +0000 (09:28 +0000)
commita6c0f1f242e1e016c5c28a63dc43878ae62e251e
tree95fec0837d92abc88afe149c45e5ce77a708981b
parentd13271568405503796033461ba36b9ec49eb0762
To be able to use printf extensions we need to turn off gcc format checking.
Following the convention of NO_WERROR and NO_WCAST_ALIGN add NO_WFORMAT,
which, when defined in Makefile, turns off compile-time format checking
(by adding -Wno-format), but still allows to use high WARNS level.

MFC after: 2 weeks
share/mk/bsd.sys.mk