aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Stephani2017-06-12 15:27:18 +0200
committerPhilipp Stephani2017-06-12 15:27:18 +0200
commit909dfaf3257e5e2de48a0a51bf9d42517a393fb0 (patch)
tree45a9e71e49ef154f646149e030bf3630ad68b509
parentcf97132764572928adc77fd555d04a9f41cd3cfc (diff)
downloademacs-909dfaf3257e5e2de48a0a51bf9d42517a393fb0.tar.gz
emacs-909dfaf3257e5e2de48a0a51bf9d42517a393fb0.zip
Also compile test module as C11
* test/data/emacs-module/Makefile (CFLAGS): Compile test module as C11
-rw-r--r--test/data/emacs-module/Makefile4
1 files 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 =
27SO = .so 27SO = .so
28# -fPIC is a no-op on Windows, but causes a compiler warning 28# -fPIC is a no-op on Windows, but causes a compiler warning
29ifeq ($(SO),.dll) 29ifeq ($(SO),.dll)
30CFLAGS = -std=gnu99 -ggdb3 -Wall 30CFLAGS = -std=c11 -ggdb3 -Wall
31else 31else
32CFLAGS = -std=gnu99 -ggdb3 -Wall -fPIC 32CFLAGS = -std=c11 -ggdb3 -Wall -fPIC
33endif 33endif
34 34
35all: mod-test$(SO) 35all: mod-test$(SO)