1 --- old/Makefile.in 2016-06-09 16:03:03.113454462 -0700 2 +++ new/Makefile.in 2016-06-09 16:03:38.713684070 -0700 3 @@ -13,6 +13,7 @@ 4 5 CC=@CC@ 6 CFLAGS=@CFLAGS@ -I. -DVERSION=\"$(VERSION)\" -DDATADIR=\"$(datadir)\" 7 +LDFLAGS=@LDFLAGS@ 8 EXEEXT=@EXEEXT@ 9 10 DB_OBJS = fileio.o util.o dbench.o child.o system.o snprintf.o 11 @@ -22,13 +23,13 @@ 12 all: dbench tbench tbench_srv 13 14 dbench: $(DB_OBJS) 15 - $(CC) -lpthread -o $@ $(DB_OBJS) $(LIBS) 16 + $(CC) -lpthread -o $@ $(DB_OBJS) $(LIBS) $(LDFLAGS) 17 18 tbench: $(TB_OBJS) 19 - $(CC) -lpthread -o $@ $(TB_OBJS) $(LIBS) 20 + $(CC) -lpthread -o $@ $(TB_OBJS) $(LIBS) $(LDFLAGS) 21 22 tbench_srv: $(SRV_OBJS) 23 - $(CC) -o $@ $(SRV_OBJS) $(LIBS) 24 + $(CC) -o $@ $(SRV_OBJS) $(LIBS) $(LDFLAGS) 25 26 # Careful here: don't install client.txt over itself. 27 install: all 28