2aa065
From b465f6b6a9587fb2387d3e880227e936d6ba5d3b Mon Sep 17 00:00:00 2001
2aa065
From: Jakub Filak <jfilak@redhat.com>
2aa065
Date: Mon, 15 Feb 2016 07:18:19 +0100
2aa065
Subject: [PATCH] Drop pedantic from CFLAGS
2aa065
2aa065
GLib2 headers produces some warnings with this option and the option
2aa065
cannot be disable through pargma.
2aa065
2aa065
Signed-off-by: Jakub Filak <jfilak@redhat.com>
2aa065
---
2aa065
 CMakeLists.txt | 2 +-
2aa065
 1 file changed, 1 insertion(+), 1 deletion(-)
2aa065
2aa065
diff --git a/CMakeLists.txt b/CMakeLists.txt
2aa065
index e766995..6af7886 100644
2aa065
--- a/CMakeLists.txt
2aa065
+++ b/CMakeLists.txt
2aa065
@@ -78,7 +78,7 @@ pkg_check_modules(PC_ABRT REQUIRED abrt)
2aa065
 add_definitions(-D_GNU_SOURCE)
2aa065
 set(AJC_ENABLE_NLS true)
2aa065
 
2aa065
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99 -pedantic")
2aa065
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99")
2aa065
 set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -g -DVERBOSE")
2aa065
 set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Werror -DSILENT")
2aa065
 
2aa065
-- 
2aa065
2.7.1
2aa065