From 47e0c25c3826bc6bef8e1b24aaa1a888b08752f2 Mon Sep 17 00:00:00 2001 From: Carsten Schoenert Date: Sun, 22 Mar 2015 13:37:53 +0100 Subject: [PATCH] examples/Makefile.am: changing header includes The build of the examples is complaining about a function that are not inline'd. The compiler is mentioned this because we use the '-I' directive for pointing to the header files. Just say the compiler also that the header files are system headers so the false positive is going away. --- examples/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 02465c9e..2e266eba 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -9,7 +9,7 @@ if BUILD_EXAMPLES # picking up the default warning CFLAGS into AM_CFLAGS -AM_CFLAGS = -I@top_builddir@/include/coap/ $(WARNING_CFLAGS) -std=c99 +AM_CFLAGS = -isystem@top_builddir@/include/coap/ $(WARNING_CFLAGS) -std=c99 # etsi_iot_01 and tiny are missing bin_PROGRAMS = coap-client coap-server rd