aboutsummaryrefslogtreecommitdiff
blob: 46e8f628629663a2bbd028394c9f379cc58e6407 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- emacs-18.59-orig/etc/ChangeLog
+++ emacs-18.59/etc/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-20  Ulrich Mueller  <ulm@gentoo.org>
+
+	* Makefile (test-distrib): Respect CFLAGS and LDFLAGS.
+
 2015-12-19  Ulrich Mueller  <ulm@gentoo.org>
 
 	* 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