core/help2man/help2man-1.37.1-respect-LDFLAGS.patch
2011-07-23 20:30:19 +00:00

12 lines
395 B
Diff

--- a/Makefile.in 2009-11-14 07:21:34.000000000 +0100
+++ b/Makefile.in 2010-02-10 12:23:35.000000000 +0100
@@ -103,7 +103,7 @@
preload: $(preload).so
$(preload).so: $(srcdir)/$(preload).c
- $(CC) $(CFLAGS) -o $@ -fPIC -shared $? $(LIBS)
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -fPIC -shared $? $(LIBS)
man: $(target).1
$(target).1: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m