change makefile possible fix for #22

This commit is contained in:
geommer 2016-03-20 07:42:56 +02:00
parent 83c5d32e59
commit e072643df8

View file

@ -1,5 +1,5 @@
VERSION = $(shell git describe)
CPPFLAGS += -DVERSION=\"$(VERSION)\" -DYABAR_RANDR
CPPFLAGS += -DVERSION=\"$(VERSION)\" -DYABAR_RANDR -D_POSIX_C_SOURCE=199309L
CFLAGS += -std=c99 -pedantic -Wall -O2 `pkg-config --cflags pango pangocairo libconfig`
INCLDS := -I.
LDLIBS := -lxcb -lpthread -lxcb-randr `pkg-config --libs pango pangocairo libconfig`