--- ttmkfdir-3.0.9.old/Makefile 2018-03-07 16:47:47.102558995 +0530 +++ ttmkfdir-3.0.9/Makefile 2018-03-07 16:57:46.484386555 +0530 @@ -29,6 +29,7 @@ CXX=g++ CXXFLAGS=-Wall -pedantic $(FREETYPE_INCL) $(DEBUG) $(OPTFLAGS) LDFLAGS=$(FREETYPE_LIB) $(DEBUG) -lz +override LDFLAGS += $(RPM_LD_FLAGS) DESTDIR= PREFIX=/usr