From de6ac2b222d26018cfd29b503fab9abd34d8b13f Mon Sep 17 00:00:00 2001 From: Jason Benaim Date: Fri, 19 Jul 2019 12:31:45 -0700 Subject: [PATCH] Makefile: change C standard to Gnu99 from C99. This fixes issue #2. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c598f63..11eb60f 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ target ?= hs100 objects := $(patsubst %.c,%.o,$(wildcard *.c)) LDFLAGS=-lm -CFLAGS=-std=c99 -Os +CFLAGS=-std=gnu99 -Os ifdef DEBUG CFLAGS+=-Wall -Werror -ggdb endif