From: Philipp Stephani Date: Mon, 12 Jun 2017 13:27:18 +0000 (+0200) Subject: Also compile test module as C11 X-Git-Tag: emacs-26.0.90~521^2~114 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=909dfaf3257e5e2de48a0a51bf9d42517a393fb0;p=emacs.git Also compile test module as C11 * test/data/emacs-module/Makefile (CFLAGS): Compile test module as C11 --- 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)