From 5da2fd84e6a7a1bc9c1fe0780bdeabf515e71884 Mon Sep 17 00:00:00 2001 From: mpi <> Date: Tue, 6 Oct 2020 09:20:29 +0000 Subject: Use std=gnu99 to be able to build the tests with both base clang and gcc. --- src/regress/lib/libc/sys/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/regress/lib/libc/sys/Makefile b/src/regress/lib/libc/sys/Makefile index a00befefd9..c22d08da74 100644 --- a/src/regress/lib/libc/sys/Makefile +++ b/src/regress/lib/libc/sys/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2020/02/02 20:18:17 bluhm Exp $ +# $OpenBSD: Makefile,v 1.5 2020/10/06 09:20:29 mpi Exp $ # Copyright (c) 2019 Moritz Buhl # Copyright (c) 2019 Alexander Bluhm @@ -49,6 +49,8 @@ PROGS += t_unlink SRCS_$p = $p.c atf-c.c . endfor +CFLAGS += -std=gnu99 + LDADD_t_getpid = -lpthread run-t_truncate: setup-t_truncate -- cgit v1.2.3-55-g6feb