diff src/Makefile @ 3439:94374e0b6267 v7.3.485

updated for version 7.3.485 Problem: When building Vim LDFLAGS isn't passed on to building xxd. Solution: Pass the LDFLAGS value. (James McCoy)
author Bram Moolenaar <bram@vim.org>
date Wed, 28 Mar 2012 17:17:48 +0200
parents 6cc788692b2e
children 8fb7bd9dfb2b
line wrap: on
line diff
--- a/src/Makefile
+++ b/src/Makefile
@@ -1720,7 +1720,7 @@ CCC = $(CC) -c -I$(srcdir) $(ALL_CFLAGS)
 		sh $(srcdir)/link.sh
 
 xxd/xxd$(EXEEXT): xxd/xxd.c
-	cd xxd; CC="$(CC)" CFLAGS="$(CPPFLAGS) $(CFLAGS)" \
+	cd xxd; CC="$(CC)" CFLAGS="$(CPPFLAGS) $(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
 		$(MAKE) -f Makefile
 
 # Build the language specific files if they were unpacked.