opnsense-src/libexec/tftpd/tests/Makefile
Kyle Evans 924e10b809 tftpd: tests: raise targeted cstd to c11
r358556 added alignas() use to the functional tests, which isn't defined
until C11. Raise the -std to C11 to fix the build under freebsd-gcc{6,9}.

Reported by:	mhorne, Jenkins/CI
2020-03-05 22:45:16 +00:00

15 lines
273 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
# Skip on GCC 4.2, because it lacks __COUNTER__
.if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 40300
ATF_TESTS_C= functional
TEST_METADATA.functional+= timeout=15
.endif
LIBADD= util
WARNS?= 6
CSTD= c11
.include <bsd.test.mk>