From 6447fef9f38f0a1fb157a52f132bbf3b279676df Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Mon, 24 Dec 2018 00:35:24 +0000 Subject: [PATCH] Add -std=c99 to example CFLAGS --- build-farm.conf.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-farm.conf.template b/build-farm.conf.template index 223db7a..d2e4292 100644 --- a/build-farm.conf.template +++ b/build-farm.conf.template @@ -169,7 +169,8 @@ our %conf =( # LDFLAGS => '-Wall' will create LDFLAGS+='-Wall' makefile_add =>{ # Show all warnings and errors - CFLAGS => '-Wall -Wno-parentheses -Werror=format-security', + # Some platforms need the c99 setting enabled + CFLAGS => '-std=c99 -Wall -Wno-parentheses -Werror=format-security', # Or enable debugging flags #CFLAGS => '-g -Wall', #LFLAGS => '-g', -- 2.30.2