diff options
author | Idwer Vollering <vidwer@gmail.com> | 2021-05-09 18:16:26 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-05-10 23:01:52 +0000 |
commit | 9a056013411a79ca7973c6a141d78e22949d4553 (patch) | |
tree | 75b23ff9bc56e28e556173e95477cce389c6c9ad /Documentation/mainboard/purism | |
parent | a0aee78c8261804e498b3c31bf4b855fb7e7d1cd (diff) |
util/cbfstool: Do not set -D_XOPEN_SOURCE on FreeBSD
Fixes compilation on FreeBSD CURRENT, and possibly other releases.
The compiler, clang, complained about:
util/cbfstool/cbfstool.c:181:40: error: implicit declaration of function 'memmem' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
util/cbfstool/cbfstool.c:181:31: error: incompatible integer to pointer conversion initializing 'struct metadata_hash_anchor *' with an expression of type 'int' [-Werror,-Wint-conversion]
Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Change-Id: I45c02a21709160df44fc8da329f6c4a9bad24478
Reviewed-on: https://review.coreboot.org/c/coreboot/+/53996
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'Documentation/mainboard/purism')
0 files changed, 0 insertions, 0 deletions