Files
core/system/base/help2man/files/help2man-1.36.4-respect-LDFLAGS.patch
2015-02-24 11:18:35 +02:00

12 lines
319 B
Diff

--- Makefile.in
+++ Makefile.in
@@ -102,7 +102,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