Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf noup] config: nrfconnect: Define _DEFAULT_SOURCE
This commit updates the chip-module build configurations to define `_DEFAULT_SOURCE` when compiling Matter because it uses non-standard functions that are only available when `_DEFAULT_SOURCE` is defined. Note that this used to be not necessary only because of a quirk in the way Newlib handles the feature test macro, which resulted in Newlib defining `_DEFAULT_SOURCE` when compiling with `-std=gnu`. For more details, refer to the issue zephyrproject-rtos/zephyr#52739. Signed-off-by: Stephanos Ioannidis <[email protected]>
- Loading branch information