[OpenWrt-Devel] [PATCH] libubus: fix build; add _GNU_SOURCE for O_CLOEXEC

Felix Fietkau nbd at openwrt.org
Wed Sep 17 07:36:08 EDT 2014


On 2014-09-15 13:26, Alexandru Ardelean wrote:
> ---
>  CMakeLists.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index cb2f420..2d322a6 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -13,6 +13,7 @@ SET(UBUS_MAX_MSGLEN 1048576)
>  
>  ADD_DEFINITIONS( -DUBUS_UNIX_SOCKET="${UBUS_UNIX_SOCKET}")
>  ADD_DEFINITIONS( -DUBUS_MAX_MSGLEN=${UBUS_MAX_MSGLEN})
> +ADD_DEFINITIONS( -D_GNU_SOURCE )
Replaced by commit 4c4f35cf2230d70b9ddd87638ca911e8a563f2f3

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list