diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-09 15:23:42 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-09 15:23:42 +0200 |
commit | 139e57c3aa04c049098be01fd861fb3a705ade08 (patch) | |
tree | 431bcf167d2bbc17e5d81e43a03d5678c63090b6 | |
parent | tools: use libc's endianness macro if no compiler macro (diff) | |
download | wireguard-monolithic-historical-139e57c3aa04c049098be01fd861fb3a705ade08.tar.xz wireguard-monolithic-historical-139e57c3aa04c049098be01fd861fb3a705ade08.zip |
tools: compile on gnu99
We don't actually use any C11 features, so we can at least compile with
ancient gcc.
Reported-by: Aaron M. D. Jones <aaronmdjones@gmail.com>
-rw-r--r-- | src/tools/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/Makefile b/src/tools/Makefile index a7cdaaa..4f3579f 100644 --- a/src/tools/Makefile +++ b/src/tools/Makefile @@ -38,7 +38,7 @@ endif PLATFORM ?= $(shell uname -s | tr '[:upper:]' '[:lower:]') CFLAGS ?= -O3 -CFLAGS += -std=gnu11 -D_GNU_SOURCE +CFLAGS += -std=gnu99 -D_GNU_SOURCE CFLAGS += -Wall -Wextra CFLAGS += -MMD -MP CFLAGS += -DRUNSTATEDIR="\"$(RUNSTATEDIR)\"" |