From a384a9552923004b29ed2a57d027a46adf53d667 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 10 Oct 2016 00:02:10 +0200 Subject: [PATCH] Add missing warning flags and enable STD:GNU99 Signed-off-by: Joachim Nilsson --- plugins/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 1de5d984..00f72b0c 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -1,4 +1,5 @@ AM_LDFLAGS = -module -avoid-version -shared +AM_CFLAGS = -W -Wall -Wextra -std=gnu99 AM_CPPFLAGS = -U_FORTIFY_SOURCE AM_CPPFLAGS += -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE AM_CPPFLAGS += $(lite_CFLAGS)