From 5dc6a36bf8c6969b6750d08c54ae381afb48e8b7 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 15 Mar 2013 14:03:12 +0100 Subject: [PATCH] Makefile: fix link with bfd linker --- src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index f0ac8aa3..d95acf15 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2,8 +2,8 @@ sources := $(wildcard *.cc) objects := $(sources:.cc=.o) deps := $(addprefix ., $(sources:.cc=.d)) -CXXFLAGS += -std=c++0x -g -Wall -Wno-reorder -Wno-sign-compare -LDFLAGS += -lmenu -lncursesw -lboost_regex +CXXFLAGS += -std=c++11 -g -Wall -Wno-reorder -Wno-sign-compare +LIBS += -lmenu -lncursesw -lboost_regex debug ?= yes ifeq ($(debug),yes) @@ -17,7 +17,7 @@ else endif kak : $(objects) - $(CXX) $(LDFLAGS) $(CXXFLAGS) $(objects) -o $@ + $(CXX) $(LDFLAGS) $(CXXFLAGS) $(objects) $(LIBS) -o $@ -include $(deps)