--- emacs-18.59-orig/etc/ChangeLog +++ emacs-18.59/etc/ChangeLog @@ -1,3 +1,7 @@ +2015-12-20 Ulrich Mueller + + * Makefile (test-distrib): Respect CFLAGS and LDFLAGS. + 2015-12-19 Ulrich Mueller * etags.c (main): Check for errors of system(3). --- emacs-18.59-orig/etc/Makefile +++ emacs-18.59/etc/Makefile @@ -21,7 +21,7 @@ # whatever means were used to copy and distribute Emacs. # If they were clobbered, all the .elc files were clobbered too. test-distrib: test-distrib.c - $(CC) -o test-distrib test-distrib.c + $(CC) -o test-distrib ${CFLAGS} ${LDFLAGS} test-distrib.c ./test-distrib etags: etags.c