]> xenbits.xensource.com Git - unikraft/libs/musl.git/commit
Move _XOPEN_SOURCE define to library CFLAGS
authorMarco Schlumpp <marco@unikraft.io>
Fri, 9 Dec 2022 12:36:22 +0000 (13:36 +0100)
committerUnikraft <monkey@unikraft.io>
Wed, 1 Feb 2023 08:27:32 +0000 (08:27 +0000)
commit46908067c431b6c5a87e7c511086045172751462
tree0bf05798a62ed234513c141cdfff7959e58afef0
parent81315b9556f262fee452be68abb18d4cf4a1052d
Move _XOPEN_SOURCE define to library CFLAGS

Putting it into CFLAGS changes the behavior for all sources files in a
Unikraft build and changes them from the implicit _DEFAULT_SOURCE to
_XOPEN_SOURCE, which can break applications/libraries.

Signed-off-by: Marco Schlumpp <marco@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #33
Makefile.uk