Revert r302403

lang/gcc{48,49,5} lacks -fformat-extensions support (causing build errors, which
is what prompted r302403 to be committed). devel/amd64-gcc on the other hand
(which is used by Jenkins), has the support.

This fixes the Jenkins failure emails due to excessive warnings being produced
with "make buildkernel".

Discussed with: lwhsu
Reported by: Jenkins (FreeBSD_HEAD_amd64_gcc job)
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2016-07-08 16:29:45 +00:00
parent a9d365dbb6
commit 88f0575156

View File

@ -62,7 +62,7 @@ CWARNEXTRA?= -Wno-uninitialized
FORMAT_EXTENSIONS= -Wno-format FORMAT_EXTENSIONS= -Wno-format
.elif ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 30600 .elif ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 30600
FORMAT_EXTENSIONS= -D__printf__=__freebsd_kprintf__ FORMAT_EXTENSIONS= -D__printf__=__freebsd_kprintf__
.elif ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} == 40201 .else
FORMAT_EXTENSIONS= -fformat-extensions FORMAT_EXTENSIONS= -fformat-extensions
.endif .endif