From d9e462851c4b18b80b478956ed20fb0be8a1d640 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 28 Sep 2014 23:59:04 +0100 Subject: [PATCH] Pass -rdynamic only to the linker --- src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index faf692be..b45ab717 100644 --- a/src/Makefile +++ b/src/Makefile @@ -9,7 +9,8 @@ bindir := $(DESTDIR)$(PREFIX)/bin sharedir := $(DESTDIR)$(PREFIX)/share/kak docdir := $(DESTDIR)$(PREFIX)/share/doc/kak -CXXFLAGS += -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -pedantic -rdynamic +CXXFLAGS += -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -pedantic +LDFLAGS += -rdynamic os := $(shell uname)