diff options
author | mpi <> | 2020-10-06 09:20:29 +0000 |
---|---|---|
committer | mpi <> | 2020-10-06 09:20:29 +0000 |
commit | 5da2fd84e6a7a1bc9c1fe0780bdeabf515e71884 (patch) | |
tree | b32e5a5b5fa7c6967e8f3a2d0c0a43a6feed7082 /src/regress/lib/libc/sys | |
parent | 92a02cae2b0a4145e9eef1482fa95dc07b72f109 (diff) | |
download | openbsd-5da2fd84e6a7a1bc9c1fe0780bdeabf515e71884.tar.gz openbsd-5da2fd84e6a7a1bc9c1fe0780bdeabf515e71884.tar.bz2 openbsd-5da2fd84e6a7a1bc9c1fe0780bdeabf515e71884.zip |
Use std=gnu99 to be able to build the tests with both base clang and gcc.
Diffstat (limited to 'src/regress/lib/libc/sys')
-rw-r--r-- | src/regress/lib/libc/sys/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
1 | # $OpenBSD: Makefile,v 1.4 2020/02/02 20:18:17 bluhm Exp $ | 1 | # $OpenBSD: Makefile,v 1.5 2020/10/06 09:20:29 mpi Exp $ |
2 | 2 | ||
3 | # Copyright (c) 2019 Moritz Buhl <openbsd@moritzbuhl.de> | 3 | # Copyright (c) 2019 Moritz Buhl <openbsd@moritzbuhl.de> |
4 | # Copyright (c) 2019 Alexander Bluhm <bluhm@openbsd.org> | 4 | # Copyright (c) 2019 Alexander Bluhm <bluhm@openbsd.org> |
@@ -49,6 +49,8 @@ PROGS += t_unlink | |||
49 | SRCS_$p = $p.c atf-c.c | 49 | SRCS_$p = $p.c atf-c.c |
50 | . endfor | 50 | . endfor |
51 | 51 | ||
52 | CFLAGS += -std=gnu99 | ||
53 | |||
52 | LDADD_t_getpid = -lpthread | 54 | LDADD_t_getpid = -lpthread |
53 | 55 | ||
54 | run-t_truncate: setup-t_truncate | 56 | run-t_truncate: setup-t_truncate |