From f295498164b6d6fc0979fcc3ed808e6b15976a50 Mon Sep 17 00:00:00 2001 From: Pin Date: Sat, 23 Oct 2021 01:41:16 -0400 Subject: [PATCH] CentOS7 build fix --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9ff9e08..6d2842e 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ OUTPUT = -o ${OUTPUT_BIN} SOURCES = ./src/* ./cmd/shell.c build: output_dir - gcc -Wall ${LIBRARIES} ${SOURCES} ${OUTPUT:PROG=rshell} + gcc -Wall -std=gnu99 ${LIBRARIES} ${SOURCES} ${OUTPUT:PROG=rshell} debug: output_dir gcc -Wall -g ${LIBRARIES} ${SOURCES} ${OUTPUT:PROG=rshell}