--- src/tools/GNUmakefile.orig 2005-01-19 16:55:32.000000000 +1100 +++ src/tools/GNUmakefile 2013-08-28 20:20:14.000000000 +1000 @@ -1,11 +1,11 @@ CCFLAGS = -O2 -pipe -Wall -Werror -Wstrict-prototypes -c crypt: crypt.o - cc -o crypt crypt.o -lcrypt + $(CC) $(LDFLAGS) -o crypt crypt.o strip crypt crypt.o: crypt.c - cc ${CCFLAGS} crypt.c + $(CC) ${CCFLAGS} crypt.c clean: rm -f crypt *.o