diff options
| author | Philipp Stephani | 2017-06-12 15:27:18 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2017-06-12 15:27:18 +0200 |
| commit | 909dfaf3257e5e2de48a0a51bf9d42517a393fb0 (patch) | |
| tree | 45a9e71e49ef154f646149e030bf3630ad68b509 | |
| parent | cf97132764572928adc77fd555d04a9f41cd3cfc (diff) | |
| download | emacs-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/Makefile | 4 |
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 = | |||
| 27 | SO = .so | 27 | SO = .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 |
| 29 | ifeq ($(SO),.dll) | 29 | ifeq ($(SO),.dll) |
| 30 | CFLAGS = -std=gnu99 -ggdb3 -Wall | 30 | CFLAGS = -std=c11 -ggdb3 -Wall |
| 31 | else | 31 | else |
| 32 | CFLAGS = -std=gnu99 -ggdb3 -Wall -fPIC | 32 | CFLAGS = -std=c11 -ggdb3 -Wall -fPIC |
| 33 | endif | 33 | endif |
| 34 | 34 | ||
| 35 | all: mod-test$(SO) | 35 | all: mod-test$(SO) |