Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2020 23:06:44 GMT
From:      Ryan Libby <rlibby@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 269b7d8ac1e5 - stable/12 - tftpd: tests: raise targeted cstd to c11
Message-ID:  <202012292306.0BTN6ivw093358@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by rlibby:

URL: https://cgit.FreeBSD.org/src/commit/?id=269b7d8ac1e533a1f214904ab7bce50f5c14fe3e

commit 269b7d8ac1e533a1f214904ab7bce50f5c14fe3e
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2020-03-05 22:45:16 +0000
Commit:     Ryan Libby <rlibby@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012292306.0BTN6ivw093358>