--- Makefile.orig 2019-12-14 16:52:11 UTC +++ Makefile @@ -80,7 +80,7 @@ install-man: install-conf: $(INSTALL) -d $(SYSCONFDIR) - tr -d \\r < dist/rhashrc.sample > rc.tmp && $(INSTALL_DATA) rc.tmp $(SYSCONFDIR)/rhashrc + tr -d \\r < dist/rhashrc.sample > rc.tmp && $(INSTALL_DATA) rc.tmp $(SYSCONFDIR)/rhashrc.sample rm -f rc.tmp # dependencies should be properly set, otherwise 'make -j' can fail @@ -212,11 +212,11 @@ parse_cmdline.o: parse_cmdline.c parse_cmdline.h commo rhash_main.o: rhash_main.c rhash_main.h calc_sums.h common_func.h file.h \ hash_check.h file_mask.h find_file.h hash_print.h hash_update.h \ parse_cmdline.h output.h win_utils.h librhash/rhash.h - $(CC) -c $(CFLAGS) $< -o $@ + $(CC) -c $(CFLAGS) $(LOCALECFLAGS) $< -o $@ win_utils.o: win_utils.c win_utils.h common_func.h file.h parse_cmdline.h \ rhash_main.h - $(CC) -c $(CFLAGS) $< -o $@ + $(CC) -c $(CFLAGS) $(LOCALECFLAGS) $< -o $@ dist/rhash.1.win.html: dist/rhash.1 dist/rhash.1.win.sed sed -f dist/rhash.1.win.sed dist/rhash.1 | rman -fHTML -roff | \