From 0c1eb1109ecfcc22fa40116899a22aa8452a5733 Mon Sep 17 00:00:00 2001 From: Tigran Aivazian Date: Mon, 1 Oct 2012 21:05:23 +0100 Subject: [PATCH] Be minimalistic wrt LDFLAGS Passing CFLAGS and LDFLAGS to kpdfview link stage has no effect in our particular case, so I ripped it out, leaving it only for the crengine. --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index d0d036f1a..7f4f9258b 100644 --- a/Makefile +++ b/Makefile @@ -92,7 +92,6 @@ all:kpdfview kpdfview: kpdfview.o einkfb.o pdf.o blitbuffer.o drawcontext.o input.o util.o ft.o lfs.o mupdfimg.o $(MUPDFLIBS) $(THIRDPARTYLIBS) $(LUALIB) djvu.o $(DJVULIBS) cre.o $(CRENGINELIBS) $(CC) \ - $(CFLAGS) \ kpdfview.o \ einkfb.o \ pdf.o \ @@ -111,7 +110,6 @@ kpdfview: kpdfview.o einkfb.o pdf.o blitbuffer.o drawcontext.o input.o util.o ft cre.o \ $(CRENGINELIBS) \ $(STATICLIBSTDCPP) \ - $(LDFLAGS) \ -o kpdfview -lm -ldl -lpthread $(EMU_LDFLAGS) $(DYNAMICLIBSTDCPP) slider_watcher: slider_watcher.c