diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-10-06 09:20:30 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-10-06 09:20:30 +0000 |
commit | b4ef93b76c7e1fbabff7e1113e9781b0c3f94a6e (patch) | |
tree | d57a6cdd6f209c715a1a232c4ac813a4d35b84aa /regress | |
parent | 45d006b5760eb8779c3e878b94fc1156067c81de (diff) |
Use std=gnu99 to be able to build the tests with both base clang and gcc.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libc/sys/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libc/sys/Makefile b/regress/lib/libc/sys/Makefile index a00befefd98..c22d08da74c 100644 --- a/regress/lib/libc/sys/Makefile +++ b/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 <openbsd@moritzbuhl.de> # Copyright (c) 2019 Alexander Bluhm <bluhm@openbsd.org> @@ -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 |