tmakefile-ldflags.diff - mkports - recipes for building multiple softwares with mk(1)
(HTM) git clone git://z3bra.org/mkports
(DIR) Log
(DIR) Files
(DIR) Refs
---
tmakefile-ldflags.diff (483B)
---
1 diff -urN a/Makefile b/Makefile
2 --- a/Makefile 2011-01-02 21:52:48.000000000 +0100
3 +++ b/Makefile 2016-10-25 11:02:27.079660855 +0200
4 @@ -125,5 +125,5 @@
5 .phony: all clean nuke install tgz rpm ports
6
7 $(TARG): $(OFILES)
8 - $(CC) -o $(TARG) $(OFILES) -L$(PREFIX)/lib -L../libutf -L../libfmt -L../libbio -L../libregexp -lregexp9 -lbio -lfmt -lutf
9 + $(CC) -o $(TARG) $(OFILES) $(LDFLAGS) -L$(PREFIX)/lib -L../libutf -L../libfmt -L../libbio -L../libregexp -lregexp9 -lbio -lfmt -lutf
10