[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tarlz 0.18 build failure on FreeBSD 11.4
From: |
David Glover-Aoki |
Subject: |
Re: tarlz 0.18 build failure on FreeBSD 11.4 |
Date: |
Mon, 23 Nov 2020 17:01:47 -0800 |
On Nov 23, 2020, at 3:07 PM, Antonio Diaz Diaz <antonio@gnu.org> wrote:
>
> Looks like BSD make is ignoring CPPFLAGS. Please, verify that lines 51-52 of
> the Makefile are these:
>
> %.o : %.cc
> $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
They are exactly that.
> ./configure CXXFLAGS='-O2 -I /usr/local/include' LDFLAGS='-L /usr/local/lib’
> make
And that does fix the problem!
I think the problem is described by this page here:
http://alfix.gitlab.io/bsd/gnu/coding/2017/01/28/gnu-make-vs-bsd-make.html
Amongst other differences with FreeBSD make, it uses a different bracket type,
like ${THIS}, and not like $(THIS).
I also found this guide to making cross-compatible Makefiles but I don’t know
how useful it is: https://mmap.page/dive-into/make/
David.
- tarlz 0.18 build failure on FreeBSD 11.4, David Glover-Aoki, 2020/11/23
- Re: tarlz 0.18 build failure on FreeBSD 11.4, Antonio Diaz Diaz, 2020/11/23
- Re: tarlz 0.18 build failure on FreeBSD 11.4, David Glover-Aoki, 2020/11/23
- Re: tarlz 0.18 build failure on FreeBSD 11.4, Antonio Diaz Diaz, 2020/11/23
- Re: tarlz 0.18 build failure on FreeBSD 11.4, David Glover-Aoki, 2020/11/23
- Re: tarlz 0.18 build failure on FreeBSD 11.4, Antonio Diaz Diaz, 2020/11/23
- Re: tarlz 0.18 build failure on FreeBSD 11.4,
David Glover-Aoki <=
- Re: tarlz 0.18 build failure on FreeBSD 11.4, Antonio Diaz Diaz, 2020/11/24
- Re: tarlz 0.18 build failure on FreeBSD 11.4, Antonio Diaz Diaz, 2020/11/25