freebsd-dev/sys/powerpc/conf/dpaa/config.dpaa
John Baldwin c227269e2f Stop adding -Wredundant-decls to CWARNFLAGS.
clang doesn't implement it, and Linux doesn't enforce it.  As a
result, new instances keep cropping up both in FreeBSD's code and in
upstream sources from vendors.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D34144
2022-02-07 12:47:51 -08:00

26 lines
838 B
Plaintext

# $FreeBSD$
files "dpaa/files.dpaa"
makeoptions DPAA_COMPILE_CMD="${LINUXKPI_C} ${DPAAWARNFLAGS} \
-Wno-cast-qual -Wno-unused-function -Wno-init-self -fms-extensions \
-include $S/contrib/ncsw/build/dflags.h \
-Wno-error=missing-prototypes \
-I$S/contrib/ncsw/build/ \
-I$S/contrib/ncsw/inc \
-I$S/contrib/ncsw/inc/cores \
-I$S/contrib/ncsw/inc/etc \
-I$S/contrib/ncsw/inc/Peripherals \
-I$S/contrib/ncsw/etc \
-I$S/contrib/ncsw/Peripherals/BM \
-I$S/contrib/ncsw/Peripherals/FM \
-I$S/contrib/ncsw/Peripherals/FM/HC \
-I$S/contrib/ncsw/Peripherals/FM/inc \
-I$S/contrib/ncsw/Peripherals/FM/MAC \
-I$S/contrib/ncsw/Peripherals/FM/Pcd \
-I$S/contrib/ncsw/Peripherals/FM/Port \
-I$S/contrib/ncsw/Peripherals/FM/Rtc \
-I$S/contrib/ncsw/Peripherals/QM \
-I$S/contrib/ncsw/inc/flib \
-I$S/contrib/ncsw/inc/integrations"