[systemd-devel] [PATCH] __thread --> thread_local for C11 compat

Lennart Poettering lennart at poettering.net
Tue Dec 17 12:46:45 PST 2013


On Sun, 15.12.13 16:19, Shawn Landden (shawn at churchofgit.com) wrote:

> to actually use this we would have to add this patch:
> 
> diff --git a/configure.ac b/configure.ac
> index f85e86e..5ead127 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -113,6 +113,7 @@ AS_IF([test "x$enable_address_sanitizer" = "xyes"], [
>        ])
> 
>  CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
> +        -std=gnu11 \
>          -pipe \
>          -Wall \
>          -Wextra \

Hmm, why is this necessary?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list