diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2f9c25cda5c32370869d2a4dac76ac22c33241e4..1dcdfbae824f63a2540b4e96557ad9de760c7073 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,7 @@ cmake_minimum_required (VERSION 2.6)
 
 project(cta)
 
-set(CMAKE_C_FLAGS "-fPIC -pedantic -Wall -Wextra -Werror -Wno-unused-parameter")
+set(CMAKE_C_FLAGS "-fPIC -Wall -Wextra -Werror -Wno-unused-parameter")
 
 # Please note that the -fms-extensions option should be dropped when this
 # project gets to be compiled on a fully C++ 11 compliant compiler.  The option