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