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