From 32b51380f37344ad7d1f929c004a05e827c9c78e Mon Sep 17 00:00:00 2001 From: Konstantin Osipov <kostja.osipov@gmail.com> Date: Thu, 12 May 2011 15:03:02 +0400 Subject: [PATCH] Fix a broken buildbot build (-Wno-unused-result support). tarantool_ev.m doesn't have to be an Objective C file, since it's only a wrapper around C file ev.c. --- core/CMakeLists.txt | 4 ++-- core/{tarantool_ev.m => tarantool_ev.c} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename core/{tarantool_ev.m => tarantool_ev.c} (100%) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 9816733c61..2977ac0b3b 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -1,12 +1,12 @@ # # libev library # -add_library(ev tarantool_ev.m) +add_library(ev tarantool_ev.c) check_c_compiler_flag ("-Wno-unused-result" gcc_has_wno_unused_result) if (gcc_has_wno_unused_result) - set_source_files_properties(tarantool_ev.m + set_source_files_properties(tarantool_ev.c PROPERTIES COMPILE_FLAGS "-Wno-unused-result") endif() diff --git a/core/tarantool_ev.m b/core/tarantool_ev.c similarity index 100% rename from core/tarantool_ev.m rename to core/tarantool_ev.c -- GitLab