summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-04 23:43:40 +0100
committermadmaxoft <github@xoft.cz>2014-02-04 23:43:40 +0100
commit45958cb835566b437c1152fcd11f678aef30db54 (patch)
tree495db4357c4ee9494552cd6227cc6190115835d5 /CMakeLists.txt
parentCrypto: Removed unused member, fixed gcc warning. (diff)
downloadcuberite-45958cb835566b437c1152fcd11f678aef30db54.tar
cuberite-45958cb835566b437c1152fcd11f678aef30db54.tar.gz
cuberite-45958cb835566b437c1152fcd11f678aef30db54.tar.bz2
cuberite-45958cb835566b437c1152fcd11f678aef30db54.tar.lz
cuberite-45958cb835566b437c1152fcd11f678aef30db54.tar.xz
cuberite-45958cb835566b437c1152fcd11f678aef30db54.tar.zst
cuberite-45958cb835566b437c1152fcd11f678aef30db54.zip
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c40767d20..1fee887e7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,6 +60,9 @@ else()
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=c++11")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -std=c++11")
endif()
+
+ # We use a signed char (fixes #640 on RasPi)
+ add_flags_cxx("-fsigned-char")
endif()