Re: [dev] [PATCH][blind] alloca #include for BSDs
On 01/28/18 13:29, Mattias Andrée wrote:
> Thanks again!
>
> I will be fixing this, but probably via config.mk.
You're welcome!
Few more things:
You should also change your config.mk files to allow external
optimization and other flags. For example:
> CFLAGS = -std=c99 -Wall -pedantic -O2
should be changed to
> CFLAGS ?= -O2
> CFLAGS += -std=c99 -Wall -pedantic -O2
This way you can allow externally supplied optimization flags while
still being able to add your own flags. Same with CPPFLAGS and LDFLAGS.
I looked at blind and sbase projects, this applies to both.
Additionally, -D_XOPEN_SOURCE=700 causes build failures on FreeBSD. I
had to patch it away in both cases. Not sure what it is and why it is
there, just reporting this problem.
Cheers!
Yuri
Received on Sun Jan 28 2018 - 23:18:12 CET
This archive was generated by hypermail 2.3.0
: Sun Jan 28 2018 - 23:24:17 CET