mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Supress clang warning for FreeBSD printf %b and %D formats
MFC after: 2 weeks
This commit is contained in:
parent
484b4fd46c
commit
38d02a94fa
2 changed files with 7 additions and 0 deletions
|
|
@ -16,4 +16,8 @@ CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
|
|||
# Pick up the bootstrap header for some interface items
|
||||
CFLAGS+= -I${.CURDIR}/../../common
|
||||
|
||||
|
||||
# Suppress warning from clang for FreeBSD %b and %D formats
|
||||
CFLAGS+= -fformat-extensions
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
|
|
|||
|
|
@ -55,6 +55,9 @@ CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../common \
|
|||
# the location of libstand
|
||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
|
||||
|
||||
# Suppress warning from clang for FreeBSD %b and %D formats
|
||||
CFLAGS+= -fformat-extensions
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "amd64"
|
||||
CLEANFILES+= machine
|
||||
machine:
|
||||
|
|
|
|||
Loading…
Reference in a new issue