git: 269b7d8ac1e5 - stable/12 - tftpd: tests: raise targeted cstd to c11
Ryan Libby
rlibby at FreeBSD.org
Tue Dec 29 23:06:45 UTC 2020
The branch stable/12 has been updated by rlibby:
URL: https://cgit.FreeBSD.org/src/commit/?id=269b7d8ac1e533a1f214904ab7bce50f5c14fe3e
commit 269b7d8ac1e533a1f214904ab7bce50f5c14fe3e
Author: Kyle Evans <kevans at FreeBSD.org>
AuthorDate: 2020-03-05 22:45:16 +0000
Commit: Ryan Libby <rlibby at FreeBSD.org>
CommitDate: 2020-12-29 23:04:40 +0000
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
(cherry picked from commit 924e10b809a9fcbc8688c1b5848f60b48e6103fe)
---
libexec/tftpd/tests/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/libexec/tftpd/tests/Makefile b/libexec/tftpd/tests/Makefile
index 06c5537372a7..9aa420cec1a5 100644
--- a/libexec/tftpd/tests/Makefile
+++ b/libexec/tftpd/tests/Makefile
@@ -10,5 +10,6 @@ TEST_METADATA.functional+= timeout=15
LIBADD= util
WARNS?= 6
+CSTD= c11
.include <bsd.test.mk>
More information about the dev-commits-src-all
mailing list