From 909dfaf3257e5e2de48a0a51bf9d42517a393fb0 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Mon, 12 Jun 2017 15:27:18 +0200 Subject: [PATCH] Also compile test module as C11 * test/data/emacs-module/Makefile (CFLAGS): Compile test module as C11 --- test/data/emacs-module/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/data/emacs-module/Makefile b/test/data/emacs-module/Makefile index db5e1b68088..bfeddb0472f 100644 --- a/test/data/emacs-module/Makefile +++ b/test/data/emacs-module/Makefile @@ -27,9 +27,9 @@ LDFLAGS = SO = .so # -fPIC is a no-op on Windows, but causes a compiler warning ifeq ($(SO),.dll) -CFLAGS = -std=gnu99 -ggdb3 -Wall +CFLAGS = -std=c11 -ggdb3 -Wall else -CFLAGS = -std=gnu99 -ggdb3 -Wall -fPIC +CFLAGS = -std=c11 -ggdb3 -Wall -fPIC endif all: mod-test$(SO) -- 2.39.2