From 139e57c3aa04c049098be01fd861fb3a705ade08 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 9 Oct 2018 15:23:42 +0200 Subject: 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 --- src/tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)\"" -- cgit v1.2.3-59-g8ed1b