diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-06-04 04:05:19 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-06-04 04:05:19 -0400 |
commit | 667043c7c309bc329a78124facd8a32db401a817 (patch) | |
tree | a48a894170234423b1dbca47b735a11ef5e5bdd5 | |
parent | 19cf4ec52ece4d25d636b218f267487e647a6303 (diff) | |
download | libvt100-667043c7c309bc329a78124facd8a32db401a817.tar.gz libvt100-667043c7c309bc329a78124facd8a32db401a817.zip |
enable c11 mode and add a feature test macro
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,8 +7,8 @@ OBJ = $(BUILD)parser.o \ $(BUILD)unicode-extra.o LIBS = glib-2.0 OPT ?= -g -CFLAGS ?= $(OPT) -Wall -Wextra -Werror -pedantic -LDFLAGS ?= $(OPT) -Wall -Wextra -Werror -pedantic +CFLAGS ?= $(OPT) -Wall -Wextra -Werror -pedantic -std=c11 -D_XOPEN_SOURCE=600 +LDFLAGS ?= $(OPT) -Wall -Wextra -Werror -pedantic -std=c11 -D_XOPEN_SOURCE=600 ALLCFLAGS = $(shell pkg-config --cflags $(LIBS)) $(CFLAGS) ALLLDFLAGS = $(shell pkg-config --libs $(LIBS)) $(LDFLAGS) |