-rdynamic does not work on gcc 4.9 under cygwin

This commit is contained in:
Maxime Coste 2015-01-13 13:50:16 +00:00
parent beb3390334
commit 0412487b0c

View File

@ -10,7 +10,9 @@ sharedir := $(DESTDIR)$(PREFIX)/share/kak
docdir := $(DESTDIR)$(PREFIX)/share/doc/kak
CXXFLAGS += -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -pedantic
LDFLAGS += -rdynamic
ifneq (,$(findstring CYGWIN,$(os)))
LDFLAGS += -rdynamic
endif
os := $(shell uname)