From f703ec243726aaa9ca0073e460509f149d5565d4 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 4 Jun 2016 04:18:24 -0400 Subject: enable an explicit std, and move the feature test macro to a cflag we can't enable pedantic here, because a pangocairo header makes gcc unhappy --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 99e139e..06f1c48 100644 --- a/Makefile +++ b/Makefile @@ -26,8 +26,8 @@ COBJ = $(BUILD)runesc.o \ $(SOCK_OBJ) LIBS = cairo cairo-xlib libevent pangocairo OPT ?= -g -CFLAGS ?= $(OPT) -Wall -Wextra -Werror -LDFLAGS ?= $(OPT) -Wall -Wextra -Werror +CFLAGS ?= $(OPT) -Wall -Wextra -Werror -std=c1x -D_XOPEN_SOURCE=600 +LDFLAGS ?= $(OPT) -Wall -Wextra -Werror -std=c1x -D_XOPEN_SOURCE=600 ALLCFLAGS = $(shell pkg-config --cflags $(LIBS)) -Ilibvt100/src $(CFLAGS) ALLLDFLAGS = $(shell pkg-config --libs $(LIBS)) $(LDFLAGS) -- cgit v1.2.3-54-g00ecf